We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f539111 commit d9729fdCopy full SHA for d9729fd
1 file changed
crates/syntax/src/ast/syntax_factory/constructors.rs
@@ -67,6 +67,10 @@ impl SyntaxFactory {
67
make::type_bound(bound).clone_for_update()
68
}
69
70
+ pub fn type_bound_text(&self, bound: &str) -> ast::TypeBound {
71
+ make::type_bound_text(bound).clone_for_update()
72
+ }
73
+
74
pub fn type_bound_list(
75
&self,
76
bounds: impl IntoIterator<Item = ast::TypeBound>,
0 commit comments