Auto merge of #6417 - alexcrichton:deprecated, r=ehuss · rust-lang/cargo@2cf1f5d (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Commit 2cf1f5d

Auto merge of #6417 - alexcrichton:deprecated, r=ehuss

Migrate from trim_right to trim_end The `trim_right` method is soon to be deprecated!

File tree

1 file changed

lines changed

1 file changed

lines changed

Original file line number Diff line number Diff line change
@@ -466,7 +466,7 @@ impl BuildOutput {
466 466 let key = iter.next();
467 467 let value = iter.next();
468 468 let (key, value) = match (key, value) {
469 -(Some(a), Some(b)) => (a, b.trim_right()),
469 +(Some(a), Some(b)) => (a, b.trim_end()),
470 470 // line started with `cargo:` but didn't match `key=value`
471 471 _ => bail!("Wrong output in {}: `{}`", whence, line),
472 472 };