about summary refs log tree commit diff
path: root/src/rustbook/javascript.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/rustbook/javascript.rs')
-rw-r--r--src/rustbook/javascript.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rustbook/javascript.rs b/src/rustbook/javascript.rs
index d34887d2b08..6ee8230e9f8 100644
--- a/src/rustbook/javascript.rs
+++ b/src/rustbook/javascript.rs
@@ -43,7 +43,7 @@ document.addEventListener("DOMContentLoaded", function(event) {
   // of each of the sections.
   // It works by extracting the current page based on the url and iterates over
   // the menu links until it finds the menu item for the current page. We then
-  // create a copy of the preceeding and following menu links and add the
+  // create a copy of the preceding and following menu links and add the
   // correct css class and insert them into the bottom of the page.
   var toc = document.getElementById('toc').getElementsByTagName('a');
   var href = document.location.pathname.split('/').pop();