Skip to content

Commit c63b368

Browse files
fix spelling errors
1 parent dc95315 commit c63b368

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/errors.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ use std::{self, error, fmt, io, str};
44
/// The error type for this crate.
55
#[derive(Debug)]
66
pub enum Error {
7-
/// An error ocurrend when executing the `rustc` command.
7+
/// An error occurred when executing the `rustc` command.
88
CouldNotExecuteCommand(io::Error),
99
/// The output of `rustc -vV` was not valid utf-8.
1010
Utf8Error(str::Utf8Error),
1111
/// The output of `rustc -vV` was not in the expected format.
1212
UnexpectedVersionFormat,
13-
/// An error ocurred in parsing a `VersionReq`.
13+
/// An error occurred in parsing a `VersionReq`.
1414
ReqParseError(semver::ReqParseError),
15-
/// An error ocurred in parsing the semver.
15+
/// An error occurred in parsing the semver.
1616
SemVerError(semver::SemVerError),
1717
/// The pre-release tag is unknown.
1818
UnknownPreReleaseTag(Identifier),

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ pub enum Channel {
8787

8888
/// LLVM version
8989
///
90-
/// LLVM's version numbering scheme is not semvar compatible until version 4.0
90+
/// LLVM's version numbering scheme is not semver compatible until version 4.0
9191
///
9292
/// rustc [just prints the major and minor versions], so other parts of the version are not included.
9393
///
@@ -107,7 +107,7 @@ impl fmt::Display for LLVMVersion {
107107
}
108108
}
109109

110-
/// Rustc version plus metada like git short hash and build date.
110+
/// Rustc version plus metadata like git short hash and build date.
111111
#[derive(Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
112112
pub struct VersionMeta {
113113
/// Version of the compiler

0 commit comments

Comments
 (0)