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 3033c3d commit 3aae785Copy full SHA for 3aae785
crates/ide-completion/src/render/variant.rs
@@ -49,7 +49,7 @@ pub(crate) fn render_tuple_lit(
49
path: &str,
50
) -> RenderedLiteral {
51
if snippet_cap.is_none() {
52
- return RenderedLiteral { literal: format!("{path}"), detail: format!("{path}") };
+ return RenderedLiteral { literal: path.to_string(), detail: path.to_string() };
53
}
54
let completions = fields.iter().enumerate().format_with(", ", |(idx, _), f| {
55
if snippet_cap.is_some() {
0 commit comments