Tidy up source file and fix typo.
This commit is contained in:
parent
b79fdb8e3c
commit
43b65b51e0
1 changed files with 6 additions and 6 deletions
|
@ -428,7 +428,7 @@ pub fn make_test(s: &str,
|
||||||
|
|
||||||
if !found_extern_crate {
|
if !found_extern_crate {
|
||||||
if let ast::ItemKind::ExternCrate(original) = item.node {
|
if let ast::ItemKind::ExternCrate(original) = item.node {
|
||||||
// This code will never be reached if `cratename` is none ecause
|
// This code will never be reached if `cratename` is none because
|
||||||
// `found_extern_crate` is initialized to `true` if it is none.
|
// `found_extern_crate` is initialized to `true` if it is none.
|
||||||
let cratename = cratename.unwrap();
|
let cratename = cratename.unwrap();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue