diff --git a/boa_engine/src/context/mod.rs b/boa_engine/src/context/mod.rs index dfa7bcecf5f..452d7344fc9 100644 --- a/boa_engine/src/context/mod.rs +++ b/boa_engine/src/context/mod.rs @@ -587,7 +587,7 @@ impl std::fmt::Debug for ContextBuilder<'_, '_, '_> { impl<'icu, 'hooks, 'queue> ContextBuilder<'icu, 'hooks, 'queue> { /// Creates a new [`ContextBuilder`] with a default empty [`Interner`] - /// and a default [`BoaProvider`] if the `intl` feature is enabled. + /// and a default `BoaProvider` if the `intl` feature is enabled. #[must_use] pub fn new() -> Self { Self::default() diff --git a/boa_engine/src/object/builtins/jsfunction.rs b/boa_engine/src/object/builtins/jsfunction.rs index 022cb94d490..522242acc69 100644 --- a/boa_engine/src/object/builtins/jsfunction.rs +++ b/boa_engine/src/object/builtins/jsfunction.rs @@ -25,6 +25,8 @@ impl JsFunction { /// Creates a new, empty intrinsic function object with only its function internal methods set. /// /// Mainly used to initialize objects before a [`Context`] is available to do so. + /// + /// [`Context`]: crate::Context pub(crate) fn empty_intrinsic_function(constructor: bool) -> Self { Self { inner: JsObject::from_object_and_vtable(