Skip to content

Commit

Permalink
Fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
HalidOdat committed Oct 7, 2020
1 parent f9ef9c5 commit 3ac48f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boa/src/property/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ impl AccessorDescriptor {
self.get.as_ref()
}

/// Return the getter if it exists.
/// Return the setter if it exists.
#[inline]
pub fn setter(&self) -> Option<&GcObject> {
self.set.as_ref()
Expand Down Expand Up @@ -277,7 +277,7 @@ impl PropertyDescriptor {
}
}

/// Check whether the descriptor is enumerable.
/// Check whether the descriptor is configurable.
#[inline]
pub fn configurable(&self) -> bool {
match self {
Expand Down

0 comments on commit 3ac48f3

Please sign in to comment.