Skip to content

Commit 01b632d

Browse files
committed
dir/gen3: use &self shorthand
Signed-off-by: Daniel Maslowski <[email protected]>
1 parent 0a6925f commit 01b632d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dir/gen3.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ impl CodePartitionDirectory {
212212

213213
impl Removables for CodePartitionDirectory {
214214
/// Removable ranges relative to the start of the directory
215-
fn removables(self: &Self, retention_list: &Vec<String>) -> Vec<Range<usize>> {
215+
fn removables(&self, retention_list: &Vec<String>) -> Vec<Range<usize>> {
216216
use log::info;
217217
let mut removables = vec![];
218218

0 commit comments

Comments
 (0)