mirror of https://github.com/helix-editor/helix
refactor: rename variable
parent
616e560f38
commit
f3d108bb9d
|
@ -61,7 +61,10 @@ impl Hover {
|
|||
self.contents
|
||||
.iter()
|
||||
.map(|(header, body)| {
|
||||
let header: String = header.iter().map(|a| a.contents.clone()).collect();
|
||||
let header: String = header
|
||||
.iter()
|
||||
.map(|header| header.contents.clone())
|
||||
.collect();
|
||||
|
||||
format!("{}{}", header, body.contents)
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue