syntax: Rename P::unwrap
into P::into_inner
This commit is contained in:
parent
3bee2b44cf
commit
a4aa26aaa0
7 changed files with 17 additions and 17 deletions
|
@ -141,7 +141,7 @@ impl<'a> fold::Folder for TestHarnessGenerator<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
let mut item = i.unwrap();
|
||||
let mut item = i.into_inner();
|
||||
// We don't want to recurse into anything other than mods, since
|
||||
// mods or tests inside of functions will break things
|
||||
if let ast::ItemKind::Mod(module) = item.node {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue