Group can now be built out of a TokenSream; no need to convert

parent 459f5775
Pipeline #14771 failed with stages
in 3 minutes and 37 seconds
......@@ -206,7 +206,7 @@ impl<'ast> ToTokens for FromGlib<'ast> {
if needs_conversion {
tokens.append(TokenTree::Group(Group::new(
Delimiter::Parenthesis,
self.1.clone().into_tokens().into(),
self.1,
)));
} else {
self.1.to_tokens(tokens);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment