Commit c7e6555
authored
inout: fixup clippy 1.85 warnings (#1171)
When clippy runs without `block-padding`, it will throw warnings:
```
warning: the following explicit lifetimes could be elided: 'inp, 'out
--> inout/src/reserved.rs:152:6
|
152 | impl<'inp, 'out> InOutBufReserved<'inp, 'out, u8> {
| ^^^^ ^^^^ ^^^^ ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
152 - impl<'inp, 'out> InOutBufReserved<'inp, 'out, u8> {
152 + impl InOutBufReserved<'_, '_, u8> {
```1 parent 0966d23 commit c7e6555
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
152 | 153 | | |
153 | 154 | | |
154 | | - | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
0 commit comments