heh
Diffstat (limited to 'src/util.rs')
-rw-r--r--src/util.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.rs b/src/util.rs
index 503d00b..dfad61f 100644
--- a/src/util.rs
+++ b/src/util.rs
@@ -1978,7 +1978,7 @@ where
static RE: LazyLock<Regex> = LazyLock::new(|| Regex::new("-?[0-9]+").unwrap());
RE.find_iter(x.str()).map(|x| x.as_str().λ())
}
-pub fn uints<T: FromStr>(x: &'static [u8]) -> impl Iterator<Item = T>
+pub fn uints<T: FromStr>(x: &[u8]) -> impl Iterator<Item = T>
where
T::Err: std::fmt::Display,
{