blob: f7e3e7858f9497aac91658d454db8e3631faedcd [file] [log] [blame]
### What it does
Warns about calling `str::trim` (or variants) before `str::split_whitespace`.
### Why is this bad?
`split_whitespace` already ignores leading and trailing whitespace.
### Example
```
" A B C ".trim().split_whitespace();
```
Use instead:
```
" A B C ".split_whitespace();
```