1
Fork 0

Don't put integers into backticks during formatting

This commit is contained in:
est31 2023-03-03 02:26:24 +01:00
parent 5a02105fff
commit c54f061228

View file

@ -457,7 +457,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
assert_eq!(input_len, dest_len, "Return vector length must match input length"); assert_eq!(input_len, dest_len, "Return vector length must match input length");
assert!( assert!(
index < dest_len, index < dest_len,
"Index `{}` must be in bounds of vector with length `{}`", "Index `{}` must be in bounds of vector with length {}",
index, index,
dest_len dest_len
); );
@ -477,7 +477,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
let (input, input_len) = self.operand_to_simd(&args[0])?; let (input, input_len) = self.operand_to_simd(&args[0])?;
assert!( assert!(
index < input_len, index < input_len,
"index `{}` must be in bounds of vector with length `{}`", "index `{}` must be in bounds of vector with length {}",
index, index,
input_len input_len
); );