Skip to content

Commit 6f27032

Browse files
authored
Rollup merge of rust-lang#114861 - RalfJung:no-effect, r=wesleywiser
fix typo: affect -> effect I just realized I made a silly typo when writing that comment...
2 parents b54fe76 + e1e6c00 commit 6f27032

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

library/alloc/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
5959
// To run alloc tests without x.py without ending up with two copies of alloc, Miri needs to be
6060
// able to "empty" this crate. See <https://github.com/rust-lang/miri-test-libstd/issues/4>.
61-
// rustc itself never sets the feature, so this line has no affect there.
61+
// rustc itself never sets the feature, so this line has no effect there.
6262
#![cfg(any(not(feature = "miri-test-libstd"), test, doctest))]
6363
//
6464
#![allow(unused_attributes)]

library/core/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
#![cfg(not(test))]
5252
// To run core tests without x.py without ending up with two copies of core, Miri needs to be
5353
// able to "empty" this crate. See <https://github.com/rust-lang/miri-test-libstd/issues/4>.
54-
// rustc itself never sets the feature, so this line has no affect there.
54+
// rustc itself never sets the feature, so this line has no effect there.
5555
#![cfg(any(not(feature = "miri-test-libstd"), test, doctest))]
5656
#![stable(feature = "core", since = "1.6.0")]
5757
#![doc(

library/std/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@
190190
191191
// To run std tests without x.py without ending up with two copies of std, Miri needs to be
192192
// able to "empty" this crate. See <https://github.com/rust-lang/miri-test-libstd/issues/4>.
193-
// rustc itself never sets the feature, so this line has no affect there.
193+
// rustc itself never sets the feature, so this line has no effect there.
194194
#![cfg(any(not(feature = "miri-test-libstd"), test, doctest))]
195195
// miri-test-libstd also prefers to make std use the sysroot versions of the dependencies.
196196
#![cfg_attr(feature = "miri-test-libstd", feature(rustc_private))]

0 commit comments

Comments
 (0)