Skip to content

Commit 8eff6d9

Browse files
authored
Rollup merge of #143114 - leopardracer:master, r=RalfJung
Minor Documentation Improvements --- ## Description - Fixed typos and improved clarity in comments and documentation. ---
2 parents e451abe + 88dc575 commit 8eff6d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ Definite bugs found:
592592
* [Occasional memory leak in `std::mpsc` channels](https://github.com/rust-lang/rust/issues/121582) (original code in [crossbeam](https://github.com/crossbeam-rs/crossbeam/pull/1084))
593593
* [Weak-memory-induced memory leak in Windows thread-local storage](https://github.com/rust-lang/rust/pull/124281)
594594
* [A bug in the new `RwLock::downgrade` implementation](https://rust-lang.zulipchat.com/#narrow/channel/269128-miri/topic/Miri.20error.20library.20test) (caught by Miri before it landed in the Rust repo)
595-
* [Mockall reading unintialized memory when mocking `std::io::Read::read`, even if all expectations are satisfied](https://github.com/asomers/mockall/issues/647) (caught by Miri running Tokio's test suite)
595+
* [Mockall reading uninitialized memory when mocking `std::io::Read::read`, even if all expectations are satisfied](https://github.com/asomers/mockall/issues/647) (caught by Miri running Tokio's test suite)
596596
* [`ReentrantLock` not correctly dealing with reuse of addresses for TLS storage of different threads](https://github.com/rust-lang/rust/pull/141248)
597597

598598
Violations of [Stacked Borrows] found that are likely bugs (but Stacked Borrows is currently just an experiment):

tests/fail/dangling_pointers/dangling_pointer_to_raw_pointer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ fn direct_raw(x: *const (i32, i32)) -> *const i32 {
66

77
// Ensure that if a raw pointer is created via an intermediate
88
// reference, we catch that. (Just in case someone decides to
9-
// desugar this differenly or so.)
9+
// desugar this differently or so.)
1010
fn via_ref(x: *const (i32, i32)) -> *const i32 {
1111
unsafe { &(*x).0 as *const i32 } //~ERROR: dangling pointer
1212
}

0 commit comments

Comments
 (0)