Commit 34f9993
authored
fix clippy lints surfaced by Rust 1.98 (#276)
CI runs clippy from the latest stable, which advanced to 1.98 and added
new lints:
- tlog_tiles_wasm: use slice::as_chunks instead of chunks_exact with a
const size (chunks_exact_to_as_chunks), dropping the try_into unwrap.
- tlog_tiles: use u64::isolate_lowest_one in a test
(manual_isolate_lowest_one).
- generic_log_worker: allow unused_async_trait_impl on the test storage
backends, whose async trait signatures require the impls stay async
even without an await.1 parent c68ec4b commit 34f9993
3 files changed
Lines changed: 10 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1407 | 1407 | | |
1408 | 1408 | | |
1409 | 1409 | | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
1410 | 1414 | | |
1411 | 1415 | | |
1412 | 1416 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1031 | 1031 | | |
1032 | 1032 | | |
1033 | 1033 | | |
1034 | | - | |
1035 | | - | |
1036 | | - | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
1037 | 1037 | | |
1038 | 1038 | | |
1039 | 1039 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
125 | 124 | | |
126 | 125 | | |
127 | 126 | | |
| |||
0 commit comments