compiler: remove unnecessary imports and qualified paths
This commit is contained in:
parent
a161a7b654
commit
9bc69925cb
76 changed files with 24 additions and 98 deletions
|
@ -362,7 +362,7 @@ impl TokenStream {
|
|||
}
|
||||
}
|
||||
|
||||
impl iter::FromIterator<TokenTree> for TokenStream {
|
||||
impl FromIterator<TokenTree> for TokenStream {
|
||||
fn from_iter<I: IntoIterator<Item = TokenTree>>(iter: I) -> Self {
|
||||
TokenStream::new(iter.into_iter().collect::<Vec<TokenTree>>())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue