Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e1e6c00

Browse files
committedAug 15, 2023
fix typo: affect -> effect
1 parent d7e7510 commit e1e6c00

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
 

‎library/alloc/src/lib.rs

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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)
Please sign in to comment.