mirror of
https://github.com/rust-lang/cargo
synced 2024-10-30 12:35:34 +00:00
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:
commit
2cf1f5dda2
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue