Bug 1543945 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

`String::trim_right()` is deprecated and has 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     |                    
```
`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     |                    
```

Back to Bug 1543945 Comment 0