Parse TokenStream directly from Tokens
diff --git a/README.md b/README.md
index e1001db..4c4364d 100644
--- a/README.md
+++ b/README.md
@@ -48,7 +48,7 @@
};
// Parse back to a token stream and return it
- expanded.to_string().parse().unwrap()
+ expanded.parse().unwrap()
}
```
@@ -88,7 +88,7 @@
let expanded = expand_num_fields(&ast);
// Return the generated impl as a TokenStream
- expanded.to_string().parse().unwrap()
+ expanded.parse().unwrap()
}
fn expand_num_fields(ast: &syn::MacroInput) -> quote::Tokens {