Unnamed repository; edit this file 'description' to name the repository.
-rw-r--r--crates/tt/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/tt/src/lib.rs b/crates/tt/src/lib.rs
index b87c7ff475..9004bff53a 100644
--- a/crates/tt/src/lib.rs
+++ b/crates/tt/src/lib.rs
@@ -336,11 +336,11 @@ impl<S> Subtree<S> {
};
match (it, last) {
(Leaf::Ident(_), Some(&TokenTree::Leaf(Leaf::Ident(_)))) => {
- " ".to_string() + &s
+ " ".to_owned() + &s
}
(Leaf::Punct(_), Some(TokenTree::Leaf(Leaf::Punct(punct)))) => {
if punct.spacing == Spacing::Alone {
- " ".to_string() + &s
+ " ".to_owned() + &s
} else {
s
}