diff --git a/boa/src/builtins/array/mod.rs b/boa/src/builtins/array/mod.rs index 83660d378b..4fd5229e63 100644 --- a/boa/src/builtins/array/mod.rs +++ b/boa/src/builtins/array/mod.rs @@ -278,7 +278,7 @@ impl Array { /// `get Array [ @@species ]` /// - /// The Array[@@species] accessor property returns the Array constructor. + /// The `Array [ @@species ]` accessor property returns the Array constructor. /// /// More information: /// - [ECMAScript reference][spec] diff --git a/boa/src/builtins/map/mod.rs b/boa/src/builtins/map/mod.rs index bf578a79a7..f5b3c0c847 100644 --- a/boa/src/builtins/map/mod.rs +++ b/boa/src/builtins/map/mod.rs @@ -174,7 +174,7 @@ impl Map { /// `get Map [ @@species ]` /// - /// The Map[@@species] accessor property returns the Map constructor. + /// The `Map [ @@species ]` accessor property returns the Map constructor. /// /// More information: /// - [ECMAScript reference][spec] diff --git a/boa/src/builtins/regexp/mod.rs b/boa/src/builtins/regexp/mod.rs index 8043c68304..9de0a3728c 100644 --- a/boa/src/builtins/regexp/mod.rs +++ b/boa/src/builtins/regexp/mod.rs @@ -270,9 +270,9 @@ impl RegExp { Ok(this) } - /// `get RegExp[@@species]` + /// `get RegExp [ @@species ]` /// - /// The RegExp[@@species] accessor property returns the RegExp constructor. + /// The `RegExp [ @@species ]` accessor property returns the RegExp constructor. /// /// More information: /// - [ECMAScript reference][spec]