diff --git a/src/librustdoc/html/static/main.js b/src/librustdoc/html/static/main.js
index b7ed355c2e70..d6d0f98fa7b8 100644
--- a/src/librustdoc/html/static/main.js
+++ b/src/librustdoc/html/static/main.js
@@ -1905,8 +1905,8 @@ function defocusSearchBar() {
len = itemTypes.length;
var lastPath = "";
for (i = 0; i < len; ++i) {
- // This object should have exactly the same set of fields as the "crateRow"
- // object defined above.
+ // This object should have exactly the same set of fields as the "crateRow"
+ // object defined above.
var row = {
crate: crate,
ty: itemTypes[i],