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

Migrate from trim_right to trim_end

The `trim_right` method is soon to be deprecated!
This commit is contained in:
bors 2018-12-11 03:44:04 +00:00
commit 2cf1f5dda2

View file

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