Skip to content

Commit a421197

Browse files
authored
Rollup merge of #75393 - GuillaumeGomez:fix-help-shortcut, r=pickfire
Fully handle "?" shortcut Fixes #75386. cc @runiq
2 parents c18b64c + fdf2fe1 commit a421197

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/librustdoc/html/static/main.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -408,9 +408,7 @@ function defocusSearchBar() {
408408
break;
409409

410410
case "?":
411-
if (ev.shiftKey) {
412-
displayHelp(true, ev);
413-
}
411+
displayHelp(true, ev);
414412
break;
415413
}
416414
}

0 commit comments

Comments
 (0)