Add LazyTokenStream.
This commit is contained in:
parent
e42836b208
commit
7d493bdd2a
13 changed files with 151 additions and 89 deletions
|
|
@ -24,7 +24,7 @@ pub fn attr_with_args(args: TokenStream, input: TokenStream) -> TokenStream {
|
|||
|
||||
let input = input.to_string();
|
||||
|
||||
assert_eq!(input, "fn foo ( ) { }");
|
||||
assert_eq!(input, "fn foo() { }");
|
||||
|
||||
r#"
|
||||
fn foo() -> &'static str { "Hello, world!" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue