Skip to content

Commit

Permalink
Fix style errors
Browse files Browse the repository at this point in the history
  • Loading branch information
notriddle committed Mar 17, 2024
1 parent 5b44bfd commit 2e368bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ function preLoadCss(cssUrl) {
const list = await descShard.promise;
return list[descIndex];
},
loadedDescShard: function (crate, shard, data) {
loadedDescShard: function(crate, shard, data) {
this.descShards.get(crate)[shard].resolve(data.split("\n"));
},
};
Expand Down
2 changes: 1 addition & 1 deletion src/tools/rustdoc-js/tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ function loadSearchJS(doc_folder, resource_suffix) {
const list = await descShard.promise;
return list[descIndex];
},
loadedDescShard: function (crate, shard, data) {
loadedDescShard: function(crate, shard, data) {
//console.log(this.descShards);
this.descShards.get(crate)[shard].resolve(data.split("\n"));
},
Expand Down

0 comments on commit 2e368bf

Please sign in to comment.