Skip to content

Commit 482b3ac

Browse files
Remove unused is_doc_keyword function
1 parent af2040f commit 482b3ac

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

compiler/rustc_span/src/symbol.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1589,11 +1589,6 @@ impl Symbol {
15891589
self == kw::Try
15901590
}
15911591

1592-
/// Used for sanity checking rustdoc keyword sections.
1593-
pub fn is_doc_keyword(self) -> bool {
1594-
self <= kw::Union
1595-
}
1596-
15971592
/// A keyword or reserved identifier that can be used as a path segment.
15981593
pub fn is_path_segment_keyword(self) -> bool {
15991594
self == kw::Super

0 commit comments

Comments
 (0)