diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-06-08 14:19:11 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-06-08 14:58:24 +0900 |
| commit | f869ff95a12756de97827b4afd93763f9661f144 (patch) | |
| tree | 6f5445ae623f44ceb99c8f7ddb5bb4cd1fb04aa0 /vfs/mountinfo.go | |
| parent | 725f2e0ef3eaba1ad46b597604a684125ab93911 (diff) | |
all: apply modernisers
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'vfs/mountinfo.go')
| -rw-r--r-- | vfs/mountinfo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vfs/mountinfo.go b/vfs/mountinfo.go index 77f6a35d..3c9e65ca 100644 --- a/vfs/mountinfo.go +++ b/vfs/mountinfo.go @@ -103,7 +103,7 @@ type ( // Flags interprets VfsOptstr and returns the resulting flags and unmatched options. func (e *MountInfoEntry) Flags() (flags uintptr, unmatched []string) { - for _, s := range strings.Split(e.VfsOptstr, ",") { + for s := range strings.SplitSeq(e.VfsOptstr, ",") { switch s { case "rw": case "ro": |
