Skip to content

Commit 7e74b72

Browse files
committed
break formatting so rustfmt is happy
1 parent 67a67d8 commit 7e74b72

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

library/alloc/tests/str.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1978,7 +1978,8 @@ fn const_str_ptr() {
19781978
const B: &'static [u8; 2] = &A;
19791979
const C: *const u8 = B as *const u8;
19801980

1981-
#[cfg(not(miri))] // Miri does not deduplicate consts (https://github.com/rust-lang/miri/issues/131)
1981+
// Miri does not deduplicate consts (https://github.com/rust-lang/miri/issues/131)
1982+
#[cfg(not(miri))]
19821983
{
19831984
let foo = &A as *const u8;
19841985
assert_eq!(foo, C);

0 commit comments

Comments
 (0)