Skip to content

Commit 0129451

Browse files
committed
rustup
1 parent 7c2d6e1 commit 0129451

File tree

2 files changed

+1
-19
lines changed

2 files changed

+1
-19
lines changed

Diff for: rust-src.diff

-18
Original file line numberDiff line numberDiff line change
@@ -1,18 +0,0 @@
1-
diff --git a/library/core/tests/fmt/num.rs b/library/core/tests/fmt/num.rs
2-
index 1ddcd5ab795..bc387a46ea7 100644
3-
--- a/library/core/tests/fmt/num.rs
4-
+++ b/library/core/tests/fmt/num.rs
5-
@@ -152,8 +152,11 @@ fn test_format_int_exp_precision() {
6-
assert_eq!(format!("{:+10.3e}", 1), " +1.000e0");
7-
8-
// test precision remains correct when rounding to next power
9-
-
10-
- for i in i16::MIN..=i16::MAX {
11-
+ #[cfg(miri)] // can't cover all of `i16` in Miri
12-
+ let range = [i16::MIN, -1, 1, i16::MAX];
13-
+ #[cfg(not(miri))]
14-
+ let range = i16::MIN..=i16::MAX;
15-
+ for i in range {
16-
for p in 0..=5 {
17-
assert_eq!(
18-
format!("{i:.p$e}"),

Diff for: rust-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nightly-2023-11-15
1+
nightly-2023-11-18

0 commit comments

Comments
 (0)