Skip to content

Commit 861f3c7

Browse files
joshtriplettm-ou-se
authored andcommitted
Fix description of FilenameInvalid
Co-authored-by: Mara Bos <[email protected]>
1 parent cc94079 commit 861f3c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/io/error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ impl ErrorKind {
382382
DirectoryNotEmpty => "directory not empty",
383383
ExecutableFileBusy => "executable file busy",
384384
FileTooLarge => "file too large",
385-
FilenameInvalid => "filename too long",
385+
FilenameInvalid => "filename invalid",
386386
FilesystemLoop => "filesystem loop or indirection limit (e.g. symlink loop)",
387387
FilesystemQuotaExceeded => "filesystem quota exceeded",
388388
HostUnreachable => "host unreachable",

0 commit comments

Comments
 (0)