Skip to content

Commit f3d108b

Browse files
committed
refactor: rename variable
1 parent 616e560 commit f3d108b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

helix-term/src/ui/lsp/hover.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,10 @@ impl Hover {
6161
self.contents
6262
.iter()
6363
.map(|(header, body)| {
64-
let header: String = header.iter().map(|a| a.contents.clone()).collect();
64+
let header: String = header
65+
.iter()
66+
.map(|header| header.contents.clone())
67+
.collect();
6568

6669
format!("{}{}", header, body.contents)
6770
})

0 commit comments

Comments
 (0)