Reformat using the new identifier sorting from rustfmt
This commit is contained in:
@@ -54,7 +54,7 @@ use std::{error, fmt};
|
||||
#[unstable(feature = "proc_macro_diagnostic", issue = "54140")]
|
||||
pub use diagnostic::{Diagnostic, Level, MultiSpan};
|
||||
|
||||
use crate::escape::{escape_bytes, EscapeOptions};
|
||||
use crate::escape::{EscapeOptions, escape_bytes};
|
||||
|
||||
/// Determines whether proc_macro has been made accessible to the currently
|
||||
/// running program.
|
||||
@@ -371,7 +371,7 @@ impl Extend<TokenStream> for TokenStream {
|
||||
/// Public implementation details for the `TokenStream` type, such as iterators.
|
||||
#[stable(feature = "proc_macro_lib2", since = "1.29.0")]
|
||||
pub mod token_stream {
|
||||
use crate::{bridge, Group, Ident, Literal, Punct, TokenStream, TokenTree};
|
||||
use crate::{Group, Ident, Literal, Punct, TokenStream, TokenTree, bridge};
|
||||
|
||||
/// An iterator over `TokenStream`'s `TokenTree`s.
|
||||
/// The iteration is "shallow", e.g., the iterator doesn't recurse into delimited groups,
|
||||
|
||||
Reference in New Issue
Block a user