for x in xs.iter()
-> for x in &xs
This commit is contained in:
parent
9f90d666e0
commit
d5d7e6565a
269 changed files with 1063 additions and 1064 deletions
|
@ -47,7 +47,7 @@ pub fn render(input: &str, mut output: Path, matches: &getopts::Matches,
|
|||
output.set_extension("html");
|
||||
|
||||
let mut css = String::new();
|
||||
for name in matches.opt_strs("markdown-css").iter() {
|
||||
for name in &matches.opt_strs("markdown-css") {
|
||||
let s = format!("<link rel=\"stylesheet\" type=\"text/css\" href=\"{}\">\n", name);
|
||||
css.push_str(s.as_slice())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue