Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: read string may panic index out of range #221

Merged
merged 4 commits into from
Sep 7, 2024

chore(buf): format a line for ci

4784e0a
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Fix: read string may panic index out of range #221

chore(buf): format a line for ci
4784e0a
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy succeeded Sep 7, 2024 in 0s

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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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.
    |         ++