heh
Diffstat (limited to 'src/util.rs')
| -rw-r--r-- | src/util.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util.rs b/src/util.rs index 3a0ed8b..44b35d2 100644 --- a/src/util.rs +++ b/src/util.rs @@ -793,7 +793,7 @@ impl DigiCount for u128 { } } -pub trait Ͷ: DigiCount { +pub trait Ͷ { fn ͷ(self) -> impl Iterator<Item = u8>; fn Ͷ(self, i: u8) -> u8; } @@ -1573,6 +1573,7 @@ pub trait Str { fn str(&self) -> &str; } impl Str for [u8] { + #[cfg_attr(debug_assertions, track_caller)] fn str(&self) -> &str { std::str::from_utf8(self).ψ() } |