diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-05-16 04:49:20 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-16 04:49:20 +0000 |
commit | b0ab5573ea0a0df48053743d451cbdd9e3df7f68 (patch) | |
tree | 5f74f3d1282e80399b89da6a58d8319242b11bf2 /src/sys/time.rs | |
parent | 6639c59618ef34031718fb45794562ead572450c (diff) | |
parent | 598925c78fcf528c2b97f0510196b4360973ba4c (diff) | |
download | nix-b0ab5573ea0a0df48053743d451cbdd9e3df7f68.zip |
Merge #1722
1722: Fix nightly clippy in tests r=asomers a=rtzoeller
`cargo +nightly clippy --tests` currently produces
```
warning: this let-binding has unit value
--> test/sys/test_uio.rs:256:20
|
256 | loop { let _ = pause(); }
| ^^^^^^^^^^^^^^^^ help: omit the `let` binding: `pause();`
|
= note: `#[warn(clippy::let_unit_value)]` on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
```
Co-authored-by: Ryan Zoeller <rtzoeller@rtzoeller.com>
Diffstat (limited to 'src/sys/time.rs')
0 files changed, 0 insertions, 0 deletions