From de254fed3c95d7c2e105a779aa5491ad161e76c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kerim=20B=C3=BCy=C3=BCkaky=C3=BCz?= <99087793+kbuyukakyuz@users.noreply.github.com> Date: Mon, 21 Nov 2022 00:04:31 +0300 Subject: [PATCH] Update mod.rs --- src/cargo/core/compiler/build_context/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cargo/core/compiler/build_context/mod.rs b/src/cargo/core/compiler/build_context/mod.rs index a32b6db3956..5a8cc8d999e 100644 --- a/src/cargo/core/compiler/build_context/mod.rs +++ b/src/cargo/core/compiler/build_context/mod.rs @@ -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 @@ -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. @@ -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.