Remove unused is_doc_keyword function

This commit is contained in:
Guillaume Gomez 2020-11-27 14:55:06 +01:00
parent af2040ff95
commit 482b3accdd

View File

@ -1589,11 +1589,6 @@ impl Symbol {
self == kw::Try
}
/// Used for sanity checking rustdoc keyword sections.
pub fn is_doc_keyword(self) -> bool {
self <= kw::Union
}
/// A keyword or reserved identifier that can be used as a path segment.
pub fn is_path_segment_keyword(self) -> bool {
self == kw::Super