Fix: read string may panic index out of range #221
clippy
6 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 6 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.80.1 (3f5fd8dd4 2024-08-06)
- cargo 1.80.1 (376290515 2024-07-16)
- clippy 0.1.80 (3f5fd8d 2024-08-06)
Annotations
Check warning on line 142 in crates/lib/src/buffer.rs
github-actions / clippy
doc list item missing indentation
warning: doc list item missing indentation
--> crates/lib/src/buffer.rs:142:9
|
142 | /// the default delimiter of the decoder.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
142 | /// the default delimiter of the decoder.
| ++
Check warning on line 141 in crates/lib/src/buffer.rs
github-actions / clippy
doc list item missing indentation
warning: doc list item missing indentation
--> crates/lib/src/buffer.rs:141:9
|
141 | /// delimiter is encountered. If not provided, the method will read until
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
141 | /// delimiter is encountered. If not provided, the method will read until
| ++
Check warning on line 135 in crates/lib/src/buffer.rs
github-actions / clippy
doc list item missing indentation
warning: doc list item missing indentation
--> crates/lib/src/buffer.rs:135:9
|
135 | /// `StringDecoder` trait with the same byte order as the buffer.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
|
135 | /// `StringDecoder` trait with the same byte order as the buffer.
| ++
Check warning on line 142 in crates/lib/src/buffer.rs
github-actions / clippy
doc list item missing indentation
warning: doc list item missing indentation
--> crates/lib/src/buffer.rs:142:9
|
142 | /// the default delimiter of the decoder.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
142 | /// the default delimiter of the decoder.
| ++
Check warning on line 141 in crates/lib/src/buffer.rs
github-actions / clippy
doc list item missing indentation
warning: doc list item missing indentation
--> crates/lib/src/buffer.rs:141:9
|
141 | /// delimiter is encountered. If not provided, the method will read until
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
141 | /// delimiter is encountered. If not provided, the method will read until
| ++
Check warning on line 135 in crates/lib/src/buffer.rs
github-actions / clippy
doc list item missing indentation
warning: doc list item missing indentation
--> crates/lib/src/buffer.rs:135:9
|
135 | /// `StringDecoder` trait with the same byte order as the buffer.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
|
135 | /// `StringDecoder` trait with the same byte order as the buffer.
| ++