Skip to content

Commit 6553589

Browse files
committed
Auto merge of #11395 - kbuyukakyuz:patch-1, r=Eh2406
Update mod.rs
2 parents 19f952f + de254fe commit 6553589

File tree

1 file changed

+3
-3
lines changed
  • src/cargo/core/compiler/build_context

1 file changed

+3
-3
lines changed

src/cargo/core/compiler/build_context/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub use self::target_info::{
1717
FileFlavor, FileType, RustDocFingerprint, RustcTargetData, TargetInfo,
1818
};
1919

20-
/// The build context, containing complete infomration needed for a build task
20+
/// The build context, containing complete information needed for a build task
2121
/// before it gets started.
2222
///
2323
/// It is intended that this is mostly static information. Stuff that mutates
@@ -145,7 +145,7 @@ impl<'a, 'cfg> BuildContext<'a, 'cfg> {
145145
/// Extra compiler flags to pass to `rustc` for a given unit.
146146
///
147147
/// Although it depends on the caller, in the current Cargo implementation,
148-
/// these flags take precendence over those from [`BuildContext::extra_args_for`].
148+
/// these flags take precedence over those from [`BuildContext::extra_args_for`].
149149
///
150150
/// As of now, these flags come from environment variables and configurations.
151151
/// See [`TargetInfo.rustflags`] for more on how Cargo collects them.
@@ -158,7 +158,7 @@ impl<'a, 'cfg> BuildContext<'a, 'cfg> {
158158
/// Extra compiler flags to pass to `rustdoc` for a given unit.
159159
///
160160
/// Although it depends on the caller, in the current Cargo implementation,
161-
/// these flags take precendence over those from [`BuildContext::extra_args_for`].
161+
/// these flags take precedence over those from [`BuildContext::extra_args_for`].
162162
///
163163
/// As of now, these flags come from environment variables and configurations.
164164
/// See [`TargetInfo.rustdocflags`] for more on how Cargo collects them.

0 commit comments

Comments
 (0)