From bd24464ec8f88edd2d32e56c35de67e717cb8bc1 Mon Sep 17 00:00:00 2001 From: jedel1043 Date: Mon, 16 Aug 2021 20:44:50 -0500 Subject: [PATCH] Fix doc interlink on `JsValue::get_type` (#1470) --- boa/src/value/type.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/boa/src/value/type.rs b/boa/src/value/type.rs index fec00c85e2..09726bdd66 100644 --- a/boa/src/value/type.rs +++ b/boa/src/value/type.rs @@ -17,9 +17,9 @@ impl JsValue { /// Get the type of a value /// /// This is the abstract operation Type(v), as described in - /// - /// so it treats `Type::Function` objects and `Type::Object` objects as `Type::Object`. - /// If you instead need to call the `typeof` operator, check [`Value::type_of`] + /// . + /// + /// Check [JsValue::type_of] if you need to call the `typeof` operator. pub fn get_type(&self) -> Type { match *self { Self::Rational(_) | Self::Integer(_) => Type::Number,