From 3ac48f3da19f331efa70aba6ebf321daf167e4d4 Mon Sep 17 00:00:00 2001 From: HalidOdat Date: Thu, 8 Oct 2020 01:21:00 +0200 Subject: [PATCH] Fix doc --- boa/src/property/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boa/src/property/mod.rs b/boa/src/property/mod.rs index 6353a228c92..5dac93aa4eb 100644 --- a/boa/src/property/mod.rs +++ b/boa/src/property/mod.rs @@ -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() @@ -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 {