Skip to content

Commit

Permalink
space before quoted string
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr committed Jul 6, 2023
1 parent 8912fb5 commit 0ec840d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/tools/riddle/src/tokens/to_tokens.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl<T: ToTokens> ToTokens for Option<T> {

impl ToTokens for str {
fn to_tokens(&self, tokens: &mut TokenStream) {
tokens.push('"');
tokens.push_str(" \"");
tokens.push_str(self);
tokens.push('"');
}
Expand Down

0 comments on commit 0ec840d

Please sign in to comment.