File tree Expand file tree Collapse file tree 20 files changed +28
-28
lines changed Expand file tree Collapse file tree 20 files changed +28
-28
lines changed Original file line number Diff line number Diff line change @@ -381,7 +381,7 @@ pub struct Config {
381
381
/// Whether to rerun tests even if the inputs are unchanged.
382
382
pub force_rerun : bool ,
383
383
384
- /// Only rerun the tests that result has been modified accoring to Git status
384
+ /// Only rerun the tests that result has been modified according to Git status
385
385
pub only_modified : bool ,
386
386
387
387
pub target_cfgs : OnceLock < TargetCfgs > ,
Original file line number Diff line number Diff line change @@ -950,7 +950,7 @@ fn is_android_gdb_target(target: &str) -> bool {
950
950
)
951
951
}
952
952
953
- /// Returns `true` if the given target is a MSVC target for the purpouses of CDB testing.
953
+ /// Returns `true` if the given target is a MSVC target for the purposes of CDB testing.
954
954
fn is_pc_windows_msvc_target ( target : & str ) -> bool {
955
955
target. ends_with ( "-pc-windows-msvc" )
956
956
}
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ const LOCAL_CRATE_ID: u32 = 0;
21
21
/// it is well formed. This involves calling `check_*` functions on
22
22
/// fields of that item, and `add_*` functions on [`Id`]s.
23
23
/// - `add_*`: These add an [`Id`] to the worklist, after validating it to check if
24
- /// the `Id` is a kind expected in this suituation .
24
+ /// the `Id` is a kind expected in this situation .
25
25
#[ derive( Debug ) ]
26
26
pub struct Validator < ' a > {
27
27
pub ( crate ) errs : Vec < Error > ,
Original file line number Diff line number Diff line change 1
1
//! Script to invoke the bundled rust-lld with the correct flavor.
2
2
//!
3
- //! lld supports multiple command line interfaces. If `-flavor <flavor>` are passed as the first
3
+ //! ` lld` supports multiple command line interfaces. If `-flavor <flavor>` are passed as the first
4
4
//! two arguments the `<flavor>` command line interface is used to process the remaining arguments.
5
5
//! If no `-flavor` argument is present the flavor is determined by the executable name.
6
6
//!
Original file line number Diff line number Diff line change @@ -269,7 +269,7 @@ pub fn get_target_dir(meta: &Metadata) -> PathBuf {
269
269
output
270
270
}
271
271
272
- /// Determines where the sysroot of this exeuction is
272
+ /// Determines where the sysroot of this execution is
273
273
///
274
274
/// Either in a user-specified spot by an envar, or in a default cache location.
275
275
pub fn get_sysroot_dir ( ) -> PathBuf {
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ use crate::borrow_tracker::{
9
9
} ;
10
10
use crate :: ProvenanceExtra ;
11
11
12
- /// Exactly what cache size we should use is a difficult tradeoff . There will always be some
12
+ /// Exactly what cache size we should use is a difficult trade-off . There will always be some
13
13
/// workload which has a `BorTag` working set which exceeds the size of the cache, and ends up
14
14
/// falling back to linear searches of the borrow stack very often.
15
15
/// The cost of making this value too large is that the loop in `Stack::insert` which ensures the
Original file line number Diff line number Diff line change @@ -390,7 +390,7 @@ struct DisplayFmtWrapper {
390
390
warning_text : S ,
391
391
}
392
392
393
- /// Formating of the permissions on each range.
393
+ /// Formatting of the permissions on each range.
394
394
///
395
395
/// Example:
396
396
/// ```rust,ignore (private type)
@@ -422,7 +422,7 @@ struct DisplayFmtPermission {
422
422
range_sep : S ,
423
423
}
424
424
425
- /// Formating of the tree structure.
425
+ /// Formatting of the tree structure.
426
426
///
427
427
/// Example:
428
428
/// ```rust,ignore (private type)
@@ -487,7 +487,7 @@ struct DisplayFmtAccess {
487
487
meh : S ,
488
488
}
489
489
490
- /// All parameters to determine how the tree is formated .
490
+ /// All parameters to determine how the tree is formatted .
491
491
struct DisplayFmt {
492
492
wrapper : DisplayFmtWrapper ,
493
493
perm : DisplayFmtPermission ,
Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ impl Permission {
202
202
Self { inner : Frozen }
203
203
}
204
204
205
- /// Default initial permission of the root of a new tre at out-of-bounds positions.
205
+ /// Default initial permission of the root of a new tree at out-of-bounds positions.
206
206
/// Must *only* be used for the root, this is not in general an "initial" permission!
207
207
pub fn new_disabled ( ) -> Self {
208
208
Self { inner : Disabled }
Original file line number Diff line number Diff line change @@ -704,7 +704,7 @@ impl Tree {
704
704
}
705
705
706
706
/// Traverses the entire tree looking for useless tags.
707
- /// Returns true iff the tag it was called on is still live or has live children,
707
+ /// Returns true if the tag it was called on is still live or has live children,
708
708
/// and removes from the tree all tags that have no live children.
709
709
///
710
710
/// NOTE: This leaves in the middle of the tree tags that are unreachable but have
Original file line number Diff line number Diff line change @@ -483,7 +483,7 @@ mod spurious_read {
483
483
/// that causes UB in the target but not in the source.
484
484
/// This implementation simply explores the reachable space
485
485
/// by all sequences of `TestEvent`.
486
- /// This function can be instanciated with `RetX` and `RetY`
486
+ /// This function can be instantiated with `RetX` and `RetY`
487
487
/// among `NoRet` or `AllowRet` to resp. forbid/allow `x`/`y` to lose their
488
488
/// protector.
489
489
fn distinguishable < RetX , RetY > ( & self , other : & Self ) -> bool
You can’t perform that action at this time.
0 commit comments