Skip to content

Commit b45c83c

Browse files
committed
make tests work now that we cross-run doctests
1 parent ff66b03 commit b45c83c

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

rust-src.diff

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/library/std/src/io/mod.rs b/library/std/src/io/mod.rs
2+
index 96fac4f6bde..fbb3ea603ab 100644
3+
--- a/library/std/src/io/mod.rs
4+
+++ b/library/std/src/io/mod.rs
5+
@@ -2335,6 +2335,7 @@ pub trait BufRead: Read {
6+
/// #![feature(buf_read_has_data_left)]
7+
/// use std::io;
8+
/// use std::io::prelude::*;
9+
+ /// # if cfg!(all(miri, windows)) { return; } // FIXME(miri-windows-file-access)
10+
///
11+
/// let stdin = io::stdin();
12+
/// let mut stdin = stdin.lock();

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nightly-2025-05-01
1+
nightly-2025-05-18

0 commit comments

Comments
 (0)