From 24ee99917357d6c341bbd6d93a2dd6f510a4b214 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Sun, 20 Oct 2024 13:03:19 -0400 Subject: [PATCH] Fix doc comment on format::desktop_entry::next --- format/desktop_entry/scan.ha | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/format/desktop_entry/scan.ha b/format/desktop_entry/scan.ha index a103fa5..0347d1a 100644 --- a/format/desktop_entry/scan.ha +++ b/format/desktop_entry/scan.ha @@ -19,9 +19,8 @@ export fn scan(input: io::handle) scanner = scanner { }; // Returns the next line from a desktop entry file. The return value is -// borrowed from the [[scanner]]. Use [[line_dup]] to retain a copy. If all you -// want is the file's data, use next_entry. -// FIXME: there is no line_dup +// borrowed from the [[scanner]]. Use [[strings::dup]], [[entry_dup]], etc. to +// retain a copy. If all you want is the file's data, use [[next_entry]]. export fn next(this: *scanner) (line | io::EOF | error) = { let text = match (bufio::scan_line(&this.scanner)) { case let text: const str =>