Remove duplicate binding in match
Co-authored-by: lzutao <taolzu@gmail.com>
This commit is contained in:
parent
d468a81a8a
commit
f5d7848458
@ -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…
x
Reference in New Issue
Block a user