From c1d1246eb7a43588ec0ca4639d8464aa77f6ebe3 Mon Sep 17 00:00:00 2001 From: hi-rustin Date: Sat, 27 Aug 2022 11:20:52 +0800 Subject: [PATCH] Fix typo Signed-off-by: hi-rustin --- src/cargo/core/compiler/build_context/target_info.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cargo/core/compiler/build_context/target_info.rs b/src/cargo/core/compiler/build_context/target_info.rs index 32f767ea718..72c7c225de1 100644 --- a/src/cargo/core/compiler/build_context/target_info.rs +++ b/src/cargo/core/compiler/build_context/target_info.rs @@ -597,7 +597,7 @@ impl Flags { /// provided) for artifacts that are always built for the host (plugins, build scripts, ...). /// For those artifacts, _only_ `host.*.rustflags` is respected, and no other configuration /// sources, _regardless of the value of `target-applies-to-host`_. This is counterintuitive, but -/// necessary to retain bacwkards compatibility with older versions of Cargo. +/// necessary to retain backwards compatibility with older versions of Cargo. fn env_args( config: &Config, requested_kinds: &[CompileKind],