We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52197cd commit e7eaf5bCopy full SHA for e7eaf5b
src/fmt.rs
@@ -42,22 +42,14 @@ impl fmt::Display for Variant {
42
43
impl fmt::LowerHex for Uuid {
44
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
45
- if f.alternate() {
46
- fmt::LowerHex::fmt(self.as_simple(), f)
47
- } else {
48
- fmt::LowerHex::fmt(self.as_hyphenated(), f)
49
- }
+ fmt::LowerHex::fmt(self.as_hyphenated(), f)
50
}
51
52
53
impl fmt::UpperHex for Uuid {
54
#[inline]
55
56
57
- fmt::UpperHex::fmt(self.as_simple(), f)
58
59
- fmt::UpperHex::fmt(self.as_hyphenated(), f)
60
+ fmt::UpperHex::fmt(self.as_hyphenated(), f)
61
62
63
0 commit comments