Remove unused is_doc_keyword function
This commit is contained in:
parent
af2040ff95
commit
482b3accdd
1 changed files with 0 additions and 5 deletions
|
@ -1589,11 +1589,6 @@ impl Symbol {
|
||||||
self == kw::Try
|
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.
|
/// A keyword or reserved identifier that can be used as a path segment.
|
||||||
pub fn is_path_segment_keyword(self) -> bool {
|
pub fn is_path_segment_keyword(self) -> bool {
|
||||||
self == kw::Super
|
self == kw::Super
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue