Fix docs for UnknownMagic to be accurate

This commit is contained in:
benthecarman 2023-02-27 00:33:20 -06:00
parent 5a867821aa
commit a4b5fb4002
No known key found for this signature in database
GPG Key ID: D7CC770B81FD22A8
1 changed files with 1 additions and 1 deletions

View File

@ -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);