Migrate from trim_right to trim_end#6417
Conversation
The `trim_right` method is soon to be deprecated!
|
r? @dwijnand (rust_highfive has picked a reviewer for you, use r? to override) |
|
FWIW originally discovered in testing of rust-lang/rust#56536 |
|
@bors r+ |
|
📌 Commit 9054b7c has been approved by |
Migrate from trim_right to trim_end The `trim_right` method is soon to be deprecated!
|
☀️ Test successful - status-appveyor, status-travis |
|
If we can't merge with deprecated code, let's add it to our CI. How do we do that? |
|
Sorry, I've not had regular work days so I'm behind on all my notifications and didn't realise I'd been assigned. Thanks for picking this up @ehuss. |
I don't think we can in this case. It's a new deprecation in 1.33. Nightly is currently 1.32, and it was the PR bumping it to 1.33 that enabled the warning. This is just one of the frictions of using |
The
trim_rightmethod is soon to be deprecated!