Skip to content

A sans-io API for ninep #285

A sans-io API for ninep

A sans-io API for ninep #285

Triggered via pull request February 25, 2025 08:14
@sminezsminez
synchronize #97
ninep-sansio
Status Success
Total duration 1m 32s
Artifacts

rust.yml

on: pull_request
Lint non-Rust files
13s
Lint non-Rust files
Ensure rustfmt is happy
11s
Ensure rustfmt is happy
Lint the codebase with clippy
38s
Lint the codebase with clippy
Check doc links are valid
33s
Check doc links are valid
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

4 warnings
operator precedence can trip the unwary: src/buffer/internal.rs#L1081
warning: operator precedence can trip the unwary --> src/buffer/internal.rs:1081:18 | 1081 | ch = (init & 7) << 18 | utf8_acc_cont_byte(y_z, w); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `((init & 7) << 18) | utf8_acc_cont_byte(y_z, w)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence
operator precedence can trip the unwary: src/buffer/internal.rs#L1075
warning: operator precedence can trip the unwary --> src/buffer/internal.rs:1075:14 | 1075 | ch = init << 12 | y_z; | ^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `(init << 12) | y_z` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence note: the lint level is defined here --> src/lib.rs:3:5 | 3 | clippy::complexity, | ^^^^^^^^^^^^^^^^^^ = note: `#[warn(clippy::precedence)]` implied by `#[warn(clippy::complexity)]`
operator precedence can trip the unwary: src/buffer/internal.rs#L1081
warning: operator precedence can trip the unwary --> src/buffer/internal.rs:1081:18 | 1081 | ch = (init & 7) << 18 | utf8_acc_cont_byte(y_z, w); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `((init & 7) << 18) | utf8_acc_cont_byte(y_z, w)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence
operator precedence can trip the unwary: src/buffer/internal.rs#L1075
warning: operator precedence can trip the unwary --> src/buffer/internal.rs:1075:14 | 1075 | ch = init << 12 | y_z; | ^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `(init << 12) | y_z` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence note: the lint level is defined here --> src/lib.rs:3:5 | 3 | clippy::complexity, | ^^^^^^^^^^^^^^^^^^ = note: `#[warn(clippy::precedence)]` implied by `#[warn(clippy::complexity)]`