Skip to content

Commit

Permalink
Fix two small typos in the error descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
dotdash committed Oct 30, 2016
1 parent 607ef07 commit 1eaa8f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rustup-utils/src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ error_chain! {
path: PathBuf,
} {
description("could not create directory")
display("could not crate {} directory: '{}'", name, path.display())
display("could not create {} directory: '{}'", name, path.display())
}
ExpectedType(t: &'static str, n: String) {
description("expected type")
Expand All @@ -51,7 +51,7 @@ error_chain! {
src: PathBuf,
dest: PathBuf,
} {
description("could not copy file")
description("could not copy file")
display("could not copy {} file from '{}' to '{}'", name, src.display(), dest.display())
}
RenamingFile {
Expand Down

0 comments on commit 1eaa8f8

Please sign in to comment.