Add new lint to enforce whitespace after keywords
This commit is contained in:
parent
6913c7487e
commit
8fe333abd0
2 changed files with 6 additions and 2 deletions
|
@ -103,7 +103,7 @@ function onEachLazy(lazyArray, func, reversed) {
|
|||
function updateLocalStorage(name, value) {
|
||||
try {
|
||||
window.localStorage.setItem("rustdoc-" + name, value);
|
||||
} catch(e) {
|
||||
} catch (e) {
|
||||
// localStorage is not accessible, do nothing
|
||||
}
|
||||
}
|
||||
|
@ -111,7 +111,7 @@ function updateLocalStorage(name, value) {
|
|||
function getCurrentValue(name) {
|
||||
try {
|
||||
return window.localStorage.getItem("rustdoc-" + name);
|
||||
} catch(e) {
|
||||
} catch (e) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue