We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61135d4 commit d0ff53dCopy full SHA for d0ff53d
crates/ra_syntax/src/syntax_text.rs
@@ -38,9 +38,7 @@ impl<'a> SyntaxText<'a> {
38
}
39
40
pub fn to_smol_string(&self) -> SmolStr {
41
- // FIXME: use `self.chunks().collect()` here too once
42
- // https://github.com/matklad/smol_str/pull/12 is merged and published
43
- self.to_string().into()
+ self.chunks().collect()
44
45
46
pub fn contains(&self, c: char) -> bool {
0 commit comments