Skip to content

Commit 9f800a0

Browse files
committed
Avoid using format features not preset on MSRV
1 parent dfa303b commit 9f800a0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/map.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,9 @@ where
501501
let idx = idx?;
502502
debug_assert!(
503503
idx < len,
504-
"Index is out of range! Got '{idx}' but length is '{len}'"
504+
"Index is out of range! Got '{}' but length is '{}'",
505+
idx,
506+
len
505507
);
506508
}
507509
let indices = indices.map(Option::unwrap);

0 commit comments

Comments
 (0)