From fd591826599296328d7e5c540fe0cd0a54e3799a Mon Sep 17 00:00:00 2001 From: StunxFS <56417208+StunxFS@users.noreply.github.com> Date: Tue, 23 Feb 2021 03:43:19 -0400 Subject: [PATCH] szip: fix doc-comments (#8911) --- vlib/szip/szip.v | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vlib/szip/szip.v b/vlib/szip/szip.v index ab7c5baaa1..32aa43f4c6 100644 --- a/vlib/szip/szip.v +++ b/vlib/szip/szip.v @@ -75,9 +75,9 @@ fn (om OpenMode) to_byte() byte { } // open opens zip archive with compression level using the given mode. -// name: the name of the zip file to open -// level: can be any value of the CompressionLevel enum -// mode: can be any value of the OpenMode enum +// name: the name of the zip file to open. +// level: can be any value of the CompressionLevel enum. +// mode: can be any value of the OpenMode enum. pub fn open(name string, level CompressionLevel, mode OpenMode) ?&Zip { if name.len == 0 { return error('szip: name of file empty') @@ -127,7 +127,7 @@ pub fn (mut zentry Zip) name() string { return unsafe { name.vstring() } } -/// index returns an index of the current zip entry. +// index returns an index of the current zip entry. pub fn (mut zentry Zip) index() ?int { index := int(C.zip_entry_index(zentry)) if index == -1 {