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 73e91dd commit 82a8774Copy full SHA for 82a8774
crates/syntax/src/ast/make.rs
@@ -89,7 +89,7 @@ pub mod ext {
89
}
90
91
pub fn ty_name(name: ast::Name) -> ast::Type {
92
- ty_path(ident_path(&format!("{name}")))
+ ty_path(ident_path(&name.to_string()))
93
94
pub fn ty_bool() -> ast::Type {
95
ty_path(ident_path("bool"))
0 commit comments