diff options
Diffstat (limited to 'vendor/ruzstd/src/blocks/literals_section.rs')
-rw-r--r-- | vendor/ruzstd/src/blocks/literals_section.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/ruzstd/src/blocks/literals_section.rs b/vendor/ruzstd/src/blocks/literals_section.rs index 9d8307223..159e3b303 100644 --- a/vendor/ruzstd/src/blocks/literals_section.rs +++ b/vendor/ruzstd/src/blocks/literals_section.rs @@ -25,8 +25,8 @@ pub enum LiteralsSectionParseError { NotEnoughBytes { have: usize, need: u8 }, } -impl std::fmt::Display for LiteralsSectionType { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> { +impl core::fmt::Display for LiteralsSectionType { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> Result<(), core::fmt::Error> { match self { LiteralsSectionType::Compressed => write!(f, "Compressed"), LiteralsSectionType::Raw => write!(f, "Raw"), |