Hide disktree storage type #257
Annotations
2 errors and 1 warning
this expression creates a reference which is immediately dereferenced by the compiler:
src/disktree/tree.rs#L32
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/disktree/tree.rs:32:50
|
32 | let mm = unsafe { MmapOptions::new().map(&file)? };
| ^^^^^ help: change this to: `file`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D clippy::all`
= help: to override `-D clippy::all` add `#[allow(clippy::needless_borrow)]`
|
build
Clippy had exited with the 101 exit code
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|