Skip to content

Commit f5d7848

Browse files
jyn514tesuji
andauthoredAug 20, 2020
Remove duplicate binding in match
Co-authored-by: lzutao <taolzu@gmail.com>
1 parent d468a81 commit f5d7848

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/librustdoc/passes/collect_intra_doc_links.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ impl<'a, 'tcx> DocFolder for LinkCollector<'a, 'tcx> {
636636
}
637637

638638
match disambiguator.map(Disambiguator::ns) {
639-
Some(ns @ ValueNS | ns @ TypeNS) => {
639+
Some(ns @ (ValueNS | TypeNS)) => {
640640
match self.resolve(
641641
path_str,
642642
disambiguator,

0 commit comments

Comments
 (0)
Please sign in to comment.