GNU bug report logs - #59647
[PATCH] Fix typos in docstrings.

Previous Next

Package: guile;

Reported by: jgart <jgart <at> dismail.de>

Date: Mon, 28 Nov 2022 02:21:02 UTC

Severity: normal

Tags: notabug, patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: bug-guile <at> gnu.org
Cc: jgart <jgart <at> dismail.de>
Subject: [PATCH] Fix typos in docstrings.
Date: Sun, 27 Nov 2022 20:20:21 -0600
* libguile/boolean.c
    (scm_not): Fix typo.
    (scm_boolean_p): Fix typo.
---
 libguile/boolean.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libguile/boolean.c b/libguile/boolean.c
index e8370331f..930001a89 100644
--- a/libguile/boolean.c
+++ b/libguile/boolean.c
@@ -56,7 +56,7 @@ verify (SCM_BITS_DIFFER_IN_EXACTLY_TWO_BIT_POSITIONS		\
 
 SCM_DEFINE (scm_not, "not", 1, 0, 0, 
             (SCM x),
-            "Return @code{#t} iff @var{x} is false, else return @code{#f}.")
+            "Return @code{#t} if @var{x} is false, else return @code{#f}.")
 #define FUNC_NAME s_scm_not
 {
   return scm_from_bool (scm_is_false (x));
@@ -82,7 +82,7 @@ SCM_DEFINE (scm_nil_p, "nil?", 1, 0, 0,
 
 SCM_DEFINE (scm_boolean_p, "boolean?", 1, 0, 0, 
            (SCM obj),
-            "Return @code{#t} iff @var{obj} is @code{#t} or false.")
+            "Return @code{#t} if @var{obj} is @code{#t} or false.")
 #define FUNC_NAME s_scm_boolean_p
 {
   return scm_from_bool (scm_is_bool (obj));
-- 
2.38.1





This bug report was last modified 2 years and 122 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.