Skip to content

Commit 16c3fe4

Browse files
committed
refactor: shorten a name
1 parent e795346 commit 16c3fe4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/app.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,13 +224,13 @@ impl App {
224224
macro_rules! run {
225225
($(
226226
$(#[$variant_attrs:meta])*
227-
$size_getter:ident, $progress:literal, $deduplicate_hardlinks:ident;
227+
$size_getter:ident, $progress:literal, $hardlinks:ident;
228228
)*) => { match self.args {$(
229229
$(#[$variant_attrs])*
230230
Args {
231231
quantity: <$size_getter as GetSizeUtils>::QUANTITY,
232232
progress: $progress,
233-
#[cfg(unix)] deduplicate_hardlinks: $deduplicate_hardlinks,
233+
#[cfg(unix)] deduplicate_hardlinks: $hardlinks,
234234
#[cfg(not(unix))] deduplicate_hardlinks: _,
235235
files,
236236
json_output,
@@ -245,7 +245,7 @@ impl App {
245245
direction: Direction::from_top_down(top_down),
246246
bar_alignment: BarAlignment::from_align_right(align_right),
247247
size_getter: <$size_getter as GetSizeUtils>::INSTANCE,
248-
hardlinks_handler: <$size_getter as CreateHardlinksHandler<{ cfg!(unix) && $deduplicate_hardlinks }, $progress>>::create_hardlinks_handler(),
248+
hardlinks_handler: <$size_getter as CreateHardlinksHandler<{ cfg!(unix) && $hardlinks }, $progress>>::create_hardlinks_handler(),
249249
reporter: <$size_getter as CreateReporter<$progress>>::create_reporter(report_error),
250250
bytes_format: <$size_getter as GetSizeUtils>::formatter(bytes_format),
251251
files,

0 commit comments

Comments
 (0)