diff options
| author | Ralf Jung <post@ralfj.de> | 2020-12-02 14:09:36 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2020-12-02 14:09:36 +0100 |
| commit | 7e74b72d135c072c49dd0273b9582b4a51eb7a93 (patch) | |
| tree | ee9444d3a3a71188b8b95424e3d3431c31d1d866 /library/alloc/tests | |
| parent | 67a67d827abfe506977938efaeb5c38b3ea94bf6 (diff) | |
break formatting so rustfmt is happy
Diffstat (limited to 'library/alloc/tests')
| -rw-r--r-- | library/alloc/tests/str.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/library/alloc/tests/str.rs b/library/alloc/tests/str.rs index 04077f88414..604835e6cc4 100644 --- a/library/alloc/tests/str.rs +++ b/library/alloc/tests/str.rs @@ -1978,7 +1978,8 @@ fn const_str_ptr() { const B: &'static [u8; 2] = &A; const C: *const u8 = B as *const u8; - #[cfg(not(miri))] // Miri does not deduplicate consts (https://github.com/rust-lang/miri/issues/131) + // Miri does not deduplicate consts (https://github.com/rust-lang/miri/issues/131) + #[cfg(not(miri))] { let foo = &A as *const u8; assert_eq!(foo, C); |
