From bc4cd9ffaa29263149484beebcea5926f7fa918c Mon Sep 17 00:00:00 2001 From: boraarslan Date: Thu, 2 Jun 2022 18:49:18 +0300 Subject: [PATCH] typo fix --- src/schema/term.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/schema/term.rs b/src/schema/term.rs index ac6b8a012..5837bb1e5 100644 --- a/src/schema/term.rs +++ b/src/schema/term.rs @@ -272,9 +272,9 @@ where B: AsRef<[u8]> self.get_fast_type::() } - /// Returns the `f64` value stored in a term. + /// Returns the `bool` value stored in a term. /// - /// Returns None if the term is not of the f64 type, or if the term byte representation + /// Returns None if the term is not of the bool type, or if the term byte representation /// is invalid. pub fn as_bool(&self) -> Option { self.get_fast_type::()