about summary refs log tree commit diff
path: root/src/test/compile-fail/precise-refutable-pattern-errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-06-19 19:21:26 +0000
committerbors <bors@rust-lang.org>2014-06-19 19:21:26 +0000
commit40ca89e525e8932a6bf16aa119e29daea71ff8e0 (patch)
treeb3dad2ce82b4fdc8ac20e3d4f75f0019a952632b /src/test/compile-fail/precise-refutable-pattern-errors.rs
parent22d62fc8e1472fdc30a83bc18c8e10687f7e8c6e (diff)
parent677e6ed6035b12a3ccb6becc9c9f6ea3d74ce37b (diff)
downloadrust-40ca89e525e8932a6bf16aa119e29daea71ff8e0.tar.gz
rust-40ca89e525e8932a6bf16aa119e29daea71ff8e0.zip
auto merge of #15037 : zzmp/rust/doc/hotkeys, r=alexcrichton
Continuing from #15012, this makes four changes to the `rustdoc` static files.

- Change the placeholder text of the search bar to `Click or press 'S' to search, '?' for more options...` to make keyboard hotkeys more apparent (capitalizing the `S` to match the help text).
- Change the `main.js` file to use browser-normalized key codes (`e.which`, from `jQuery`), instead of `e.keyCode`.
- Change the key code for `?` to be the correct `191` instead of `188`, so that the hotkey works to bring up search information.
- Change the search information to display `tab` and `shift+tab` instead of `up` and `down`, as those do not yet work outside of Firefox (see #15011). Also, adjust the height so it does not cut off the help text.

<s>I've also opened up #15038 about the non-functional `up` and `down` functionality, although this does nothing to fix it.</s>
Diffstat (limited to 'src/test/compile-fail/precise-refutable-pattern-errors.rs')
0 files changed, 0 insertions, 0 deletions