diff --git a/internal/fuse/link.go b/internal/fuse/link.go index 760a332dd..b174f8430 100644 --- a/internal/fuse/link.go +++ b/internal/fuse/link.go @@ -10,7 +10,7 @@ import ( "golang.org/x/net/context" ) -// Statically ensure that *file implements the given interface +// Statically ensure that *link implements the given interface var _ = fs.NodeReadlinker(&link{}) type link struct { diff --git a/internal/fuse/snapshots_dir.go b/internal/fuse/snapshots_dir.go index 9884a42c0..8a4ba1861 100644 --- a/internal/fuse/snapshots_dir.go +++ b/internal/fuse/snapshots_dir.go @@ -25,7 +25,7 @@ type SnapshotsDir struct { names map[string]*restic.Snapshot } -// ensure that *DirSnapshots implements these interfaces +// ensure that *SnapshotsDir implements these interfaces var _ = fs.HandleReadDirAller(&SnapshotsDir{}) var _ = fs.NodeStringLookuper(&SnapshotsDir{})