Browse Source

Fixed documentation warnings (#1381)

pull/1385/head
Iban Eguia 4 years ago committed by GitHub
parent
commit
ad972f76bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      boa/src/builtins/array/mod.rs
  2. 2
      boa/src/builtins/map/mod.rs
  3. 4
      boa/src/builtins/regexp/mod.rs

2
boa/src/builtins/array/mod.rs

@ -278,7 +278,7 @@ impl Array {
/// `get Array [ @@species ]` /// `get Array [ @@species ]`
/// ///
/// The Array[@@species] accessor property returns the Array constructor. /// The `Array [ @@species ]` accessor property returns the Array constructor.
/// ///
/// More information: /// More information:
/// - [ECMAScript reference][spec] /// - [ECMAScript reference][spec]

2
boa/src/builtins/map/mod.rs

@ -174,7 +174,7 @@ impl Map {
/// `get Map [ @@species ]` /// `get Map [ @@species ]`
/// ///
/// The Map[@@species] accessor property returns the Map constructor. /// The `Map [ @@species ]` accessor property returns the Map constructor.
/// ///
/// More information: /// More information:
/// - [ECMAScript reference][spec] /// - [ECMAScript reference][spec]

4
boa/src/builtins/regexp/mod.rs

@ -270,9 +270,9 @@ impl RegExp {
Ok(this) 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: /// More information:
/// - [ECMAScript reference][spec] /// - [ECMAScript reference][spec]

Loading…
Cancel
Save