Skip to content

Commit 9953aba

Browse files
committed
chore: clippy
1 parent 69a2f35 commit 9953aba

4 files changed

Lines changed: 16 additions & 13 deletions

File tree

.github/dependabot.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ updates:
44
directory: /
55
schedule:
66
interval: daily
7+
cooldown:
8+
default-days: 7
9+
710
- package-ecosystem: github-actions
811
directory: /
912
schedule:
10-
interval: daily
13+
interval: daily
14+
cooldown:
15+
default-days: 7

.github/workflows/cd.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,9 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v6
18-
- uses: actions-rs/toolchain@v1
18+
- uses: actions-rust-lang/setup-rust-toolchain@v1
1919
with:
2020
toolchain: nightly
21-
profile: minimal
22-
override: true
2321
components: rustfmt, clippy, rust-src
2422
- name: Cache
2523
uses: Swatinem/rust-cache@v2

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
uses: actions/checkout@v6
3030

3131
- name: Setup Rust
32-
uses: dtolnay/rust-toolchain@master
32+
uses: actions-rust-lang/setup-rust-toolchain@v1
3333
with:
3434
toolchain: ${{ matrix.toolchain }}
3535
components: clippy, rustfmt

src/align/transform_estimation/mod.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ pub trait TransformEstimator<T, M, const D: usize>
1616
where
1717
T: Debug + Scalar + Copy,
1818
{
19-
fn estimate<'a, 'b, 'c>(
20-
&'a mut self,
21-
alignee: &'b mut MaskedPointCloud<T, D>,
22-
target: &'c mut MaskedPointCloud<T, D>,
19+
fn estimate(
20+
&mut self,
21+
alignee: &mut MaskedPointCloud<T, D>,
22+
target: &mut MaskedPointCloud<T, D>,
2323
step: usize,
2424
) -> Option<M>;
2525
}
@@ -29,10 +29,10 @@ where
2929
F: FnMut(&mut MaskedPointCloud<T, D>, &mut MaskedPointCloud<T, D>, usize) -> Option<M>,
3030
T: Debug + Scalar + Copy,
3131
{
32-
fn estimate<'a, 'b, 'c>(
33-
&'a mut self,
34-
alignee: &'b mut MaskedPointCloud<T, D>,
35-
target: &'c mut MaskedPointCloud<T, D>,
32+
fn estimate(
33+
&mut self,
34+
alignee: &mut MaskedPointCloud<T, D>,
35+
target: &mut MaskedPointCloud<T, D>,
3636
step: usize,
3737
) -> Option<M> {
3838
self(alignee, target, step)

0 commit comments

Comments
 (0)