Skip to content

Commit 2cf1f5d

Browse files
committed
Auto merge of #6417 - alexcrichton:deprecated, r=ehuss
Migrate from trim_right to trim_end The `trim_right` method is soon to be deprecated!
2 parents 7d27033 + 9054b7c commit 2cf1f5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/core/compiler/custom_build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ impl BuildOutput {
466466
let key = iter.next();
467467
let value = iter.next();
468468
let (key, value) = match (key, value) {
469-
(Some(a), Some(b)) => (a, b.trim_right()),
469+
(Some(a), Some(b)) => (a, b.trim_end()),
470470
// line started with `cargo:` but didn't match `key=value`
471471
_ => bail!("Wrong output in {}: `{}`", whence, line),
472472
};

0 commit comments

Comments
 (0)