-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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_right
method is soon to be deprecated!