Skip to content

Commit eb201c9

Browse files
committed
refactor: shorten, consistency
1 parent 12343de commit eb201c9

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/app.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ impl App {
200200
impl<const REPORT_PROGRESS: bool, SizeGetter>
201201
HardlinkDeduplicationSystem<false, REPORT_PROGRESS> for SizeGetter
202202
where
203-
SizeGetter: CreateReporter<REPORT_PROGRESS>,
204-
SizeGetter::Size: Send + Sync,
203+
Self: CreateReporter<REPORT_PROGRESS>,
204+
Self::Size: Send + Sync,
205205
{
206206
type HardlinksHandler = hardlink::HardlinkIgnorant;
207207
fn create_hardlinks_handler() -> Self::HardlinksHandler {
@@ -213,9 +213,9 @@ impl App {
213213
impl<const REPORT_PROGRESS: bool, SizeGetter>
214214
HardlinkDeduplicationSystem<true, REPORT_PROGRESS> for SizeGetter
215215
where
216-
SizeGetter: CreateReporter<REPORT_PROGRESS>,
217-
SizeGetter::Size: Send + Sync + 'static,
218-
SizeGetter::Reporter: crate::reporter::Reporter<SizeGetter::Size>,
216+
Self: CreateReporter<REPORT_PROGRESS>,
217+
Self::Size: Send + Sync + 'static,
218+
Self::Reporter: crate::reporter::Reporter<Self::Size>,
219219
{
220220
type HardlinksHandler = hardlink::HardlinkAware<Self::Size>;
221221
fn create_hardlinks_handler() -> Self::HardlinksHandler {

0 commit comments

Comments
 (0)