diff options
| author | Josh Triplett <josh@joshtriplett.org> | 2022-01-31 09:17:34 -0800 |
|---|---|---|
| committer | Yuki Okushi <yuki.okushi@huawei.com> | 2022-02-10 23:42:27 +0900 |
| commit | 861f3c70a27d007ed8113fe776aa393d8e25faa0 (patch) | |
| tree | 6a3fa00340f97625bfec637a56dc3648abaf2bfd | |
| parent | cc9407924decf5212177769ff4740665047517d9 (diff) | |
| download | rust-861f3c70a27d007ed8113fe776aa393d8e25faa0.tar.gz rust-861f3c70a27d007ed8113fe776aa393d8e25faa0.zip | |
Fix description of FilenameInvalid
Co-authored-by: Mara Bos <m-ou.se@m-ou.se>
| -rw-r--r-- | library/std/src/io/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/io/error.rs b/library/std/src/io/error.rs index c55f3c19ab6..90766d4acef 100644 --- a/library/std/src/io/error.rs +++ b/library/std/src/io/error.rs @@ -382,7 +382,7 @@ impl ErrorKind { DirectoryNotEmpty => "directory not empty", ExecutableFileBusy => "executable file busy", FileTooLarge => "file too large", - FilenameInvalid => "filename too long", + FilenameInvalid => "filename invalid", FilesystemLoop => "filesystem loop or indirection limit (e.g. symlink loop)", FilesystemQuotaExceeded => "filesystem quota exceeded", HostUnreachable => "host unreachable", |
