Skip to content

Commit 45bba40

Browse files
committed
dead code
1 parent 55f1564 commit 45bba40

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

crates/syntax/src/lib.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -187,13 +187,6 @@ impl ast::Expr {
187187
}
188188
}
189189

190-
impl ast::Attr {
191-
/// Returns `text`, parsed as an attribute, but only if it has no errors.
192-
pub fn parse(text: &str) -> Result<Self, ()> {
193-
parsing::parse_text_as(text, parser::ParserEntryPoint::Attr)
194-
}
195-
}
196-
197190
/// Matches a `SyntaxNode` against an `ast` type.
198191
///
199192
/// # Example:

0 commit comments

Comments
 (0)