Skip to content

Commit d0e2d26

Browse files
remove unused condition
1 parent d5eade2 commit d0e2d26

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/librustdoc/html/static/main.js

-5
Original file line numberDiff line numberDiff line change
@@ -1072,11 +1072,6 @@
10721072
type = matches[1].replace(/^const$/, 'constant');
10731073
query = query.substring(matches[0].length);
10741074
}
1075-
// In case we just get a '!' as input, we can assume that the user is looking for the
1076-
// `Never` primitive type.
1077-
if (raw === '!') {
1078-
query = 'Never';
1079-
}
10801075

10811076
return {
10821077
raw: raw,

0 commit comments

Comments
 (0)