From 49042db837b9ab117260749e973e3046161dff30 Mon Sep 17 00:00:00 2001 From: Iban Eguia Date: Wed, 22 Jun 2022 10:03:18 +0200 Subject: [PATCH] Update boa_engine/src/object/jsfunction.rs --- boa_engine/src/object/jsfunction.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boa_engine/src/object/jsfunction.rs b/boa_engine/src/object/jsfunction.rs index 02387f0d9d7..8d455048855 100644 --- a/boa_engine/src/object/jsfunction.rs +++ b/boa_engine/src/object/jsfunction.rs @@ -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]