feat: bit optimization #7
check.yml
on: pull_request
stable / miri
50s
stable / build
26s
stable / test
14s
stable / fmt
8s
nightly / doc
19s
Matrix: clippy
Annotations
6 warnings
[clippy] src/protocol/serializer.rs#L108:
src/protocol/serializer.rs#L108
warning: unneeded unit return type
--> src/protocol/serializer.rs:108:56
|
108 | pub fn serialize_token(&mut self, token: Delimiter) -> () {
| ^^^^^^ help: remove the `-> ()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
= note: `#[warn(clippy::unused_unit)]` on by default
|
[clippy] src/protocol/deserializer.rs#L123:
src/protocol/deserializer.rs#L123
warning: question mark operator is useless here
--> src/protocol/deserializer.rs:123:9
|
123 | Ok(self.eat_bit()?)
| ^^^^^^^^^^^^^^^^^^^ help: try removing question mark and `Ok()`: `self.eat_bit()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark
= note: `#[warn(clippy::needless_question_mark)]` on by default
|
stable / clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: giraffate/clippy-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
[clippy] src/protocol/serializer.rs#L108:
src/protocol/serializer.rs#L108
warning: unneeded unit return type
--> src/protocol/serializer.rs:108:56
|
108 | pub fn serialize_token(&mut self, token: Delimiter) -> () {
| ^^^^^^ help: remove the `-> ()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
= note: `#[warn(clippy::unused_unit)]` on by default
|
[clippy] src/protocol/deserializer.rs#L123:
src/protocol/deserializer.rs#L123
warning: question mark operator is useless here
--> src/protocol/deserializer.rs:123:9
|
123 | Ok(self.eat_bit()?)
| ^^^^^^^^^^^^^^^^^^^ help: try removing question mark and `Ok()`: `self.eat_bit()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark
= note: `#[warn(clippy::needless_question_mark)]` on by default
|
beta / clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: giraffate/clippy-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|