From: king6cong Date: Mon, 20 Feb 2017 07:24:24 +0000 (+0800) Subject: typo fix X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~9^2~137^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=56967a26171cb668a0d76dcee8b365f5a6fc9da0;p=cargo.git typo fix --- diff --git a/src/cargo/ops/cargo_rustc/context.rs b/src/cargo/ops/cargo_rustc/context.rs index 31606eb52..cc7c913fb 100644 --- a/src/cargo/ops/cargo_rustc/context.rs +++ b/src/cargo/ops/cargo_rustc/context.rs @@ -444,7 +444,7 @@ impl<'a, 'cfg> Context<'a, 'cfg> { /// Returns a tuple with the directory and name of the hard link we expect /// our target to be copied to. Eg, file_stem may be out_dir/deps/foo-abcdef /// and link_stem would be out_dir/foo - /// This function returns it in two parts so the caller can add prefix/suffis + /// This function returns it in two parts so the caller can add prefix/suffix /// to filename separately /// Returns an Option because in some cases we don't want to link diff --git a/src/cargo/ops/cargo_rustc/custom_build.rs b/src/cargo/ops/cargo_rustc/custom_build.rs index ea3e0f98c..6c5866127 100644 --- a/src/cargo/ops/cargo_rustc/custom_build.rs +++ b/src/cargo/ops/cargo_rustc/custom_build.rs @@ -171,7 +171,7 @@ fn build_work<'a, 'cfg>(cx: &mut Context<'a, 'cfg>, unit: &Unit<'a>) let kind = unit.kind; let json_messages = cx.build_config.json_messages; - // Check to see if the build script as already run, and if it has keep + // Check to see if the build script has already run, and if it has keep // track of whether it has told us about some explicit dependencies let prev_output = BuildOutput::parse_file(&output_file, &pkg_name).ok(); let rerun_if_changed = match prev_output {