diff options
| author | Jeffrey Seyfried <jeffrey.seyfried@gmail.com> | 2016-04-09 05:37:31 +0000 |
|---|---|---|
| committer | Jeffrey Seyfried <jeffrey.seyfried@gmail.com> | 2016-04-09 05:37:56 +0000 |
| commit | 86f069d41a89122740d58d0eb8eaeb7496bb03ce (patch) | |
| tree | 4b90a06a3c552a6050ead4b3adc6b6d61b1f5a61 /src/libsyntax | |
| parent | 5eb775eedd64d3b3abab63a8ef39ca9664f4cad0 (diff) | |
| download | rust-86f069d41a89122740d58d0eb8eaeb7496bb03ce.tar.gz rust-86f069d41a89122740d58d0eb8eaeb7496bb03ce.zip | |
Remove redundant call to `expand_item_multi_modifier`
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ext/expand.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libsyntax/ext/expand.rs b/src/libsyntax/ext/expand.rs index 8550617560d..27d7234aae2 100644 --- a/src/libsyntax/ext/expand.rs +++ b/src/libsyntax/ext/expand.rs @@ -309,9 +309,7 @@ macro_rules! with_exts_frame { // When we enter a module, record it, for the sake of `module!` pub fn expand_item(it: P<ast::Item>, fld: &mut MacroExpander) -> SmallVector<P<ast::Item>> { - let it = expand_item_multi_modifier(Annotatable::Item(it), fld); - - expand_annotatable(it, fld) + expand_annotatable(Annotatable::Item(it), fld) .into_iter().map(|i| i.expect_item()).collect() } |
