Skip to content

Commit

Permalink
Better wording for errMIME comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-vasile committed Aug 31, 2021
1 parent c20b02e commit 765beb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tree.go
Expand Up @@ -30,7 +30,7 @@ var root = newMIME("application/octet-stream", "",
)

// errMIME is returned from Detect functions when err is not nil.
// Detect can return root for erroneous cases, but it needs to lock mu in order to do so.
// Detect could return root for erroneous cases, but it needs to lock mu in order to do so.
// errMIME is same as root but it does not require locking.
var errMIME = newMIME("application/octet-stream", "", func([]byte, uint32) bool { return false })

Expand Down

0 comments on commit 765beb3

Please sign in to comment.