We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af4ac35 commit ac1ed90Copy full SHA for ac1ed90
crates/signum/src/util/four_cc.rs
@@ -58,11 +58,12 @@ impl FourCC {
58
Self(buf)
59
}
60
61
- /// Return a human readable name of the file format identified by this four-character-code
+ /// Return the Signum 1 file format identified by this four-character-code, if any
62
///
63
/// ```
64
/// # use signum::util::FourCC;
65
- /// assert_eq!(FourCC::SDOC.file_format_name(), Some("Signum! Document"));
+ /// # use signum::util::Signum1Format;
66
+ /// assert_eq!(FourCC::SDOC.file_format(), Some(Signum1Format::Document));
67
68
69
/// Returns `None` if the format is unknown
0 commit comments