Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jedel1043 committed Apr 12, 2023
1 parent ab8b674 commit 1072987
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion boa_engine/src/context/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 2 additions & 0 deletions boa_engine/src/object/builtins/jsfunction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 1072987

Please sign in to comment.