mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-17 01:13:11 +00:00
Remove unused is_doc_keyword function
This commit is contained in:
parent
af2040ff95
commit
482b3accdd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user