Remove duplicate binding in match
Co-authored-by: lzutao <taolzu@gmail.com>
This commit is contained in:
parent
d468a81a8a
commit
f5d7848458
1 changed files with 1 additions and 1 deletions
|
|
@ -636,7 +636,7 @@ impl<'a, 'tcx> DocFolder for LinkCollector<'a, 'tcx> {
|
|||
}
|
||||
|
||||
match disambiguator.map(Disambiguator::ns) {
|
||||
Some(ns @ ValueNS | ns @ TypeNS) => {
|
||||
Some(ns @ (ValueNS | TypeNS)) => {
|
||||
match self.resolve(
|
||||
path_str,
|
||||
disambiguator,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue