1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-29 19:30:36 +02:00

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 <ludo@gnu.org>
This commit is contained in:
Antoine Kalmbach 2022-08-24 12:09:00 +03:00 committed by Ludovic Courtès
parent b16dbb14bc
commit 78c7772eb7

View file

@ -49,7 +49,7 @@ Here's an example use:
(lambda (data result)
(let ((port (open-output-file "lcov.info")))
(coverage-data->lcov data port)
(close file))))
(close port))))
@end example
In addition, the module provides low-level procedures that would make it