kill more reexports

This commit is contained in:
Aleksey Kladov 2018-08-25 11:48:59 +03:00
parent 70333c8edf
commit a44428fc79
2 changed files with 2 additions and 6 deletions

View file

@ -72,7 +72,7 @@ fn main() -> Result<()> {
fn file() -> Result<File> {
let text = read_stdin()?;
Ok(libeditor::parse(&text))
Ok(File::parse(&text))
}
fn read_stdin() -> Result<String> {
@ -91,7 +91,7 @@ fn render_test(file: &Path, line: usize) -> Result<(String, String)> {
None => bail!("No test found at line {} at {}", line, file.display()),
Some((_start_line, test)) => test,
};
let file = libeditor::parse(&test.text);
let file = File::parse(&test.text);
let tree = syntax_tree(&file);
Ok((test.text, tree))
}