Skip to content

Commit

Permalink
Merge pull request #788 from dotdash/typo
Browse files Browse the repository at this point in the history
Fix two small typos in the error descriptions
  • Loading branch information
brson authored Nov 4, 2016
2 parents 1216a79 + 1eaa8f8 commit 33ae2fa
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 33ae2fa

Please sign in to comment.