(&self, f: &mut core::fmt::Formatter<'_>)
| 129 | |
| 130 | impl fmt::Debug for StrLen { |
| 131 | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { |
| 132 | let len = self.0.load(Relaxed); |
| 133 | if len == usize::MAX { |
| 134 | f.write_str("<uncomputed>") |
| 135 | } else { |
| 136 | len.fmt(f) |
| 137 | } |
| 138 | } |
| 139 | } |
| 140 | |
| 141 | impl StrLen { |