Skip to content

Commit

Permalink
Auto merge of #11395 - kbuyukakyuz:patch-1, r=Eh2406
Browse files Browse the repository at this point in the history
Update mod.rs
  • Loading branch information
bors committed Nov 20, 2022
2 parents 19f952f + de254fe commit 6553589
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cargo/core/compiler/build_context/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub use self::target_info::{
FileFlavor, FileType, RustDocFingerprint, RustcTargetData, TargetInfo,
};

/// The build context, containing complete infomration needed for a build task
/// The build context, containing complete information needed for a build task
/// before it gets started.
///
/// It is intended that this is mostly static information. Stuff that mutates
Expand Down Expand Up @@ -145,7 +145,7 @@ impl<'a, 'cfg> BuildContext<'a, 'cfg> {
/// Extra compiler flags to pass to `rustc` for a given unit.
///
/// Although it depends on the caller, in the current Cargo implementation,
/// these flags take precendence over those from [`BuildContext::extra_args_for`].
/// these flags take precedence over those from [`BuildContext::extra_args_for`].
///
/// As of now, these flags come from environment variables and configurations.
/// See [`TargetInfo.rustflags`] for more on how Cargo collects them.
Expand All @@ -158,7 +158,7 @@ impl<'a, 'cfg> BuildContext<'a, 'cfg> {
/// Extra compiler flags to pass to `rustdoc` for a given unit.
///
/// Although it depends on the caller, in the current Cargo implementation,
/// these flags take precendence over those from [`BuildContext::extra_args_for`].
/// these flags take precedence over those from [`BuildContext::extra_args_for`].
///
/// As of now, these flags come from environment variables and configurations.
/// See [`TargetInfo.rustdocflags`] for more on how Cargo collects them.
Expand Down

0 comments on commit 6553589

Please sign in to comment.