Skip to content

Commit

Permalink
docs: Fix code highlighting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ubolonton committed Mar 26, 2024
1 parent 3739b17 commit 01e7322
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion guide/hljs-load-langs.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}

function load(lang) {
var src = "//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.9/languages/" + lang + ".min.js";
var src = "//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.1/languages/" + lang + ".min.js";
var s = document.createElement('script');
s.setAttribute('src', src);
s.setAttribute('type', 'text/javascript');
Expand Down
2 changes: 1 addition & 1 deletion guide/src/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ emacs::define_errors! {
#[defun]
fn signal_if_negative(env: &Env, x: i16) -> Result<()> {
if (x < 0) {
return env.signal(my_custom_error., ("associated", "DATA", 7))
return env.signal(my_custom_error, ("associated", "DATA", 7))
}
Ok(())
}
Expand Down

0 comments on commit 01e7322

Please sign in to comment.