Skip to content

feat: atrium-repo

feat: atrium-repo #754

Triggered via pull request February 16, 2025 21:04
@DrChatDrChat
synchronize #272
DrChat:repo
Status Success
Total duration 1m 15s
Artifacts

rust.yml

on: pull_request
Matrix: Rust
Fit to window
Zoom out
Zoom in

Annotations

4 errors
Rust (1.75.0): atrium-repo/src/mst.rs#L767
[clippy] reported by reviewdog 🐶 error: this expression creates a reference which is immediately dereferenced by the compiler --> atrium-repo/src/mst.rs:767:63 | 767 | for entry in node.entries_with_prefix(&prefix).rev() { | ^^^^^^^ help: change this to: `prefix` | = 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 warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]` Raw Output: atrium-repo/src/mst.rs:767:63:e:error: this expression creates a reference which is immediately dereferenced by the compiler --> atrium-repo/src/mst.rs:767:63 | 767 | for entry in node.entries_with_prefix(&prefix).rev() { | ^^^^^^^ help: change this to: `prefix` | = 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 warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]` __END__
Rust (1.75.0): atrium-repo/src/repo.rs#L398
[clippy] reported by reviewdog 🐶 error: the following explicit lifetimes could be elided: 'a --> atrium-repo/src/repo.rs:398:22 | 398 | pub async fn add<'a, C: Collection>( | ^^ 399 | &'a mut self, | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `-D clippy::needless-lifetimes` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_lifetimes)]` Raw Output: atrium-repo/src/repo.rs:398:22:e:error: the following explicit lifetimes could be elided: 'a --> atrium-repo/src/repo.rs:398:22 | 398 | pub async fn add<'a, C: Collection>( | ^^ 399 | &'a mut self, | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `-D clippy::needless-lifetimes` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_lifetimes)]` __END__
Rust (1.75.0): atrium-repo/src/repo.rs#L424
[clippy] reported by reviewdog 🐶 error: the following explicit lifetimes could be elided: 'a --> atrium-repo/src/repo.rs:424:25 | 424 | pub async fn update<'a, C: Collection>( | ^^ 425 | &'a mut self, | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes Raw Output: atrium-repo/src/repo.rs:424:25:e:error: the following explicit lifetimes could be elided: 'a --> atrium-repo/src/repo.rs:424:25 | 424 | pub async fn update<'a, C: Collection>( | ^^ 425 | &'a mut self, | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes __END__
Rust (1.75.0): atrium-repo/src/repo.rs#L450
[clippy] reported by reviewdog 🐶 error: the following explicit lifetimes could be elided: 'a --> atrium-repo/src/repo.rs:450:25 | 450 | pub async fn delete<'a, C: Collection>( | ^^ 451 | &'a mut self, | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes Raw Output: atrium-repo/src/repo.rs:450:25:e:error: the following explicit lifetimes could be elided: 'a --> atrium-repo/src/repo.rs:450:25 | 450 | pub async fn delete<'a, C: Collection>( | ^^ 451 | &'a mut self, | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes __END__