add bytes len (#5945)

This commit is contained in:
WindSoilder
2022-07-04 18:51:07 +08:00
committed by GitHub
parent 2da8310b11
commit 1e8212a938
5 changed files with 130 additions and 0 deletions

View File

@ -43,6 +43,7 @@ pub enum Category {
Default,
Conversions,
Core,
Bytes,
Date,
Env,
Experimental,
@ -91,6 +92,7 @@ impl std::fmt::Display for Category {
Category::Chart => "chart",
Category::Custom(name) => name,
Category::Deprecated => "deprecated",
Category::Bytes => "bytes",
};
write!(f, "{}", msg)