Skip to content

Commit e1e0e08

Browse files
committed
zip: fix typos in documentation
Change-Id: I59d3fcbea6bc0f2d86ccc245c0e23889c03b07e4 Reviewed-on: https://go-review.googlesource.com/c/mod/+/205037 Reviewed-by: Brad Fitzpatrick <[email protected]> Reviewed-by: Jay Conrod <[email protected]>
1 parent a222b96 commit e1e0e08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zip/zip.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ type File interface {
9898
// Create verifies the restrictions described in the package documentation
9999
// and should not produce an archive that Unzip cannot extract. Create does not
100100
// include files in the output archive if they don't belong in the module zip.
101-
// In particular, Create will not include files in mdoules found in
101+
// In particular, Create will not include files in modules found in
102102
// subdirectories, most files in vendor directories, or irregular files (such
103103
// as symbolic links) in the output archive.
104104
func Create(w io.Writer, m module.Version, files []File) (err error) {
@@ -233,7 +233,7 @@ func Create(w io.Writer, m module.Version, files []File) (err error) {
233233
// CreateFromDir does not include files in the output archive if they don't
234234
// belong in the module zip. In particular, CreateFromDir will not include
235235
// files in modules found in subdirectories, most files in vendor directories,
236-
// or irregular files (such as symbolic links) in the output archive.
236+
// or irregular files (such as symbolic links) in the output archive.
237237
func CreateFromDir(w io.Writer, m module.Version, dir string) (err error) {
238238
defer func() {
239239
if zerr, ok := err.(*zipError); ok {

0 commit comments

Comments
 (0)