Skip to content

Commit

Permalink
Update boa_engine/src/object/jsfunction.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Razican authored Jun 22, 2022
1 parent 5dc4adb commit 49042db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boa_engine/src/object/jsfunction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ impl JsFunction {
Self { inner: object }
}

/// Create a [`JsFunction`] from a [`JsObject`], or return None if the object is not a function.
/// Create a [`JsFunction`] from a [`JsObject`], or return `None` if the object is not a function.
///
/// This does not clone the fields of the function, it only does a shallow clone of the object.
#[inline]
Expand Down

0 comments on commit 49042db

Please sign in to comment.