[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 05/05: doc: Fix typo in 'coverage-data->lcov' example.

From: Ludovic Courtès
Subject: [Guile-commits] 05/05: doc: Fix typo in 'coverage-data->lcov' example.
Date: Sat, 1 Oct 2022 10:02:01 -0400 (EDT)

civodul pushed a commit to branch main
in repository guile.

commit 78c7772eb77f9ce08147cf7a722226edce3f5aaa
Author: Antoine Kalmbach <>
AuthorDate: Wed Aug 24 12:09:00 2022 +0300

    doc: Fix typo in 'coverage-data->lcov' example.
    * doc/ref/api-coverage.texi (Code Coverage): Close PORT, not FILE, in
    the example.
    Signed-off-by: Ludovic Courtès <>
 doc/ref/api-coverage.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/ref/api-coverage.texi b/doc/ref/api-coverage.texi
index 5081d343b..3a3bd6145 100644
--- a/doc/ref/api-coverage.texi
+++ b/doc/ref/api-coverage.texi
@@ -49,7 +49,7 @@ Here's an example use:
   (lambda (data result)
     (let ((port (open-output-file "")))
       (coverage-data->lcov data port)
-      (close file))))
+      (close port))))
 @end example
 In addition, the module provides low-level procedures that would make it

reply via email to

[Prev in Thread] Current Thread [Next in Thread]