io/fs: documentation of func Sub #44376
Labels
Documentation
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Read the documentation of the func Sub in package io/fs.
https://golang.org/pkg/io/fs/#Sub
What did you expect to see?
See below
What did you see instead?
There is a small bug in the description of what func Sub does. In
I think it should read "sub.Open(name)" instead of "sub.Open(dir)".
The text was updated successfully, but these errors were encountered: