Skip to content

Commit 14ba11c

Browse files
committed
lib: use &self shorthand
Signed-off-by: Daniel Maslowski <[email protected]>
1 parent 01b632d commit 14ba11c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pub const EMPTY: u8 = 0xff;
2222
pub trait Removables {
2323
/// Get removable ranges relative to the start of a section or directory.
2424
/// The respective section/directory needs to know its own offset.
25-
fn removables(self: &Self, retention_list: &Vec<String>) -> Vec<core::ops::Range<usize>>;
25+
fn removables(&self, retention_list: &Vec<String>) -> Vec<core::ops::Range<usize>>;
2626
}
2727

2828
#[derive(Serialize, Deserialize, Clone, Debug)]

0 commit comments

Comments
 (0)