Skip to content

Commit cf6ecaa

Browse files
sbeckerivStranger6667
authored andcommitted
Ran clippy
I noticed the clippy error in the pr.
1 parent 4409a0e commit cf6ecaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,12 +296,12 @@ impl<'a> CSSInliner<'a> {
296296
.as_ref()
297297
.unwrap()
298298
.to_string()
299-
.clone()
299+
300300
})
301301
.collect::<Vec<String>>();
302302
links.sort();
303303
links.dedup();
304-
for href in links.iter() {
304+
for href in &links {
305305
let url = self.get_full_url(href);
306306
let css = self.load_external(url.as_ref())?;
307307
process_css(&document, css.as_str())?;

0 commit comments

Comments
 (0)