We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4409a0e commit cf6ecaaCopy full SHA for cf6ecaa
src/lib.rs
@@ -296,12 +296,12 @@ impl<'a> CSSInliner<'a> {
296
.as_ref()
297
.unwrap()
298
.to_string()
299
- .clone()
+
300
})
301
.collect::<Vec<String>>();
302
links.sort();
303
links.dedup();
304
- for href in links.iter() {
+ for href in &links {
305
let url = self.get_full_url(href);
306
let css = self.load_external(url.as_ref())?;
307
process_css(&document, css.as_str())?;
0 commit comments