diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-11-27 14:55:06 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-11-27 17:54:28 +0100 |
| commit | 482b3accdd2390b1cd0ffee850fe1c21468b6798 (patch) | |
| tree | 6848fe294f7f143d69f3729dd02a8707fff80806 | |
| parent | af2040ff95b35a1d70c329ee20d61356a898e3eb (diff) | |
| download | rust-482b3accdd2390b1cd0ffee850fe1c21468b6798.tar.gz rust-482b3accdd2390b1cd0ffee850fe1c21468b6798.zip | |
Remove unused is_doc_keyword function
| -rw-r--r-- | compiler/rustc_span/src/symbol.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs index 338ff005995..ad2c7d7609b 100644 --- a/compiler/rustc_span/src/symbol.rs +++ b/compiler/rustc_span/src/symbol.rs @@ -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 |
