deprecate Vec::get
This commit is contained in:
parent
b35d1a8368
commit
aa760a849e
25 changed files with 91 additions and 88 deletions
|
@ -75,7 +75,7 @@ pub fn render(input: &str, mut output: Path, matches: &getopts::Matches,
|
|||
"invalid markdown file: expecting initial line with `% ...TITLE...`");
|
||||
return 5;
|
||||
}
|
||||
let title = metadata.get(0).as_slice();
|
||||
let title = metadata[0].as_slice();
|
||||
|
||||
reset_headers();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue