Closed
Bug 1543945
Opened 5 years ago
Closed 5 years ago
String::trim_right() is deprecated, causing build warning
Categories
(Testing :: geckodriver, defect, P1)
Tracking
(firefox68 fixed)
RESOLVED
FIXED
mozilla68
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: ato, Assigned: ato)
Details
Attachments
(1 file)
String::trim_right()
is deprecated and has been superseded
by ::trim_end()
.
./mach build
[…]
0:11.18 warning: use of deprecated item 'core::str::<impl str>::trim_right': superseded by `trim_end`
0:11.18 --> testing/geckodriver/build.rs:74:24
0:11.18 |
0:11.18 74 | .map(|s| s.trim_right().into())
0:11.18 | ^^^^^^^^^^
0:11.18 |
0:11.18 = note: #[warn(deprecated)] on by default
0:11.19 warning: use of deprecated item 'core::str::<impl str>::trim_right': superseded by `trim_end`
0:11.19 --> testing/geckodriver/build.rs:102:24
0:11.19 |
0:11.19 102 | .map(|s| s.trim_right().into())
0:11.19 |
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → ato
Status: NEW → ASSIGNED
Priority: -- → P1
Assignee | ||
Comment 1•5 years ago
|
||
str::trim_right() is deprecated and has been superseded by ::trim_end().
Pushed by atolfsen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4b8cb5cb5d7a geckodriver: replace str::trim_right() with ::trim_end(); r=jgraham
Comment 3•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox68:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in
before you can comment on or make changes to this bug.
Description
•