Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - Lift InternalObjectMethods from Object #2790

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix docs
  • Loading branch information
jedel1043 committed Apr 12, 2023
commit 107298745d9e1e118e2f745957cb46ab379fa343
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