summary refs log tree commit diff
path: root/rand_ish
diff options
context:
space:
mode:
Diffstat (limited to 'rand_ish')
-rw-r--r--rand_ish/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rand_ish/src/lib.rs b/rand_ish/src/lib.rs
index 80022b7..84d1a16 100644
--- a/rand_ish/src/lib.rs
+++ b/rand_ish/src/lib.rs
@@ -33,7 +33,7 @@ impl SimpleRng {
 fn uniform_sample_ascii_alphanumeric(
     b: Result<u8, std::io::Error>,
 ) -> Option<Result<char, std::io::Error>> {
-    const ASCII_CHARS: &'static [u8] = b"\
+    const ASCII_CHARS: &[u8] = b"\
           ABCDEFGHIJKLMNOPQRSTUVWXYZ\
           abcdefghijklmnopqrstuvwxyz\
           0123456789";