feat: add insert and len methods #6
test.yaml
on: push
Changelog
4s
Run clippy and unitary tests
22s
Annotations
9 warnings
Run clippy and unitary tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/clippy@master, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run clippy and unitary tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy@master, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Run clippy and unitary tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run clippy and unitary tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run clippy and unitary tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run clippy and unitary tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run clippy and unitary tests:
src/lib.rs#L48
warning: name `PID` contains a capitalized acronym
--> src/lib.rs:48:6
|
48 | type PID = u32;
| ^^^ help: consider making the acronym lowercase, except the initial letter: `Pid`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms
= note: `#[warn(clippy::upper_case_acronyms)]` on by default
|
Run clippy and unitary tests:
src/lib.rs#L104
warning: casting raw pointers to the same type and constness is unnecessary (`*mut libc::epoll_event` -> `*mut libc::epoll_event`)
--> src/lib.rs:104:17
|
104 | / &mut libc::epoll_event {
105 | | events: EPOLLIN as u32,
106 | | u64: token as u64,
107 | | } as *mut _ as *mut libc::epoll_event,
| |_____________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `#[warn(clippy::unnecessary_cast)]` on by default
help: try
|
104 ~ &mut libc::epoll_event {
105 + events: EPOLLIN as u32,
106 + u64: token as u64,
107 ~ } as *mut _,
|
|
Run clippy and unitary tests:
src/lib.rs#L161
warning: struct `PidSet` has a public `len` method, but no `is_empty` method
--> src/lib.rs:161:5
|
161 | pub fn len(&self) -> usize {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty
= note: `#[warn(clippy::len_without_is_empty)]` on by default
|