rustdoc: Use the parsing method that supports .rc files
This commit is contained in:
parent
645035a715
commit
a0ed75bc49
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ fn new_parse_sess() -> parser::parse_sess {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn from_file(file: str) -> @ast::crate {
|
fn from_file(file: str) -> @ast::crate {
|
||||||
parser::parse_crate_from_source_file(
|
parser::parse_crate_from_file(
|
||||||
file, [], new_parse_sess())
|
file, [], new_parse_sess())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue