Skip to content

Commit 57343d2

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/src/io/error.rs

Lines changed: 1 addition & 1 deletion
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)