diff options
Diffstat (limited to 'components/script/script_runtime.rs')
-rw-r--r-- | components/script/script_runtime.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/script_runtime.rs b/components/script/script_runtime.rs index 6d0894fa3fb..f797a61e212 100644 --- a/components/script/script_runtime.rs +++ b/components/script/script_runtime.rs @@ -233,7 +233,7 @@ unsafe extern "C" fn enqueue_promise_job( } #[allow(unsafe_code, crown::unrooted_must_root)] -/// https://html.spec.whatwg.org/multipage/#the-hostpromiserejectiontracker-implementation +/// <https://html.spec.whatwg.org/multipage/#the-hostpromiserejectiontracker-implementation> unsafe extern "C" fn promise_rejection_tracker( cx: *mut RawJSContext, _muted_errors: bool, @@ -311,7 +311,7 @@ unsafe extern "C" fn promise_rejection_tracker( } #[allow(unsafe_code, crown::unrooted_must_root)] -/// https://html.spec.whatwg.org/multipage/#notify-about-rejected-promises +/// <https://html.spec.whatwg.org/multipage/#notify-about-rejected-promises> pub fn notify_about_rejected_promises(global: &GlobalScope) { let cx = GlobalScope::get_cx(); unsafe { |