From 06228d33cac6770653d6798cf5f80d1269e5482d Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Wed, 24 Jul 2019 17:50:48 +0200 Subject: Save crate filtering on rustdoc --- src/librustdoc/html/static/storage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/librustdoc/html/static/storage.js') diff --git a/src/librustdoc/html/static/storage.js b/src/librustdoc/html/static/storage.js index e3927350d11..dd16664395b 100644 --- a/src/librustdoc/html/static/storage.js +++ b/src/librustdoc/html/static/storage.js @@ -57,7 +57,7 @@ function onEachLazy(lazyArray, func, reversed) { function usableLocalStorage() { // Check if the browser supports localStorage at all: - if (typeof(Storage) === "undefined") { + if (typeof Storage === "undefined") { return false; } // Check if we can access it; this access will fail if the browser -- cgit 1.4.1-3-g733a5