Shut up clippy.
This commit is contained in:
parent
9bf1197fa1
commit
0db495d66f
|
@ -53,6 +53,7 @@ pub struct Terminator {
|
|||
}
|
||||
|
||||
impl Terminator {
|
||||
#[cfg_attr(feature = "cargo-clippy", allow(clippy::new_without_default))]
|
||||
pub fn new() -> Self { Self { info: None, block_type: BlockType::Terminator } }
|
||||
pub fn from_stream(_fp: &mut File, start_address: u32, end_address: u32) -> Self
|
||||
{
|
||||
|
@ -448,6 +449,7 @@ pub struct RepeatEnd {
|
|||
}
|
||||
|
||||
impl RepeatEnd {
|
||||
#[cfg_attr(feature = "cargo-clippy", allow(clippy::new_without_default))]
|
||||
pub fn new() -> Self { Self { info: None, block_type: BlockType::RepeatEnd } }
|
||||
pub fn from_stream(_fp: &mut File, start_address: u32, end_address: u32) -> Self {
|
||||
Self {
|
||||
|
|
Loading…
Reference in New Issue