Skip to content

Commit bf5a111

Browse files
committed
Fix clippy warning
Signed-off-by: Jiahao XU <[email protected]>
1 parent 4596a39 commit bf5a111

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plumbing/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ pub fn main() -> Result<()> {
732732
&url,
733733
directory,
734734
refs_directory,
735-
refs.into_iter().map(|s| s.into()).collect(),
735+
refs.into_iter().map(Into::into).collect(),
736736
progress,
737737
core::pack::receive::Context {
738738
thread_limit,

0 commit comments

Comments
 (0)