Fix docs for UnknownMagic to be accurate
This commit is contained in:
parent
5a867821aa
commit
a4b5fb4002
|
@ -239,7 +239,7 @@ impl From<Network> for Magic {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Error in parsing magic from string.
|
/// Error in creating a Network from Magic bytes.
|
||||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||||
pub struct UnknownMagic(Magic);
|
pub struct UnknownMagic(Magic);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue