Skip to content

Commit

Permalink
Update comment in build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Apr 17, 2021
1 parent 9a7f075 commit db6c7af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ struct Version {

impl Version {
// The version detection logic is based on https://github.com/cuviper/autocfg/blob/1.0.1/src/version.rs#L25-L59,
// but provides a better error message.
// but detects channel and provides a better error message.
fn from_rustc(rustc: &Path) -> Result<Self, String> {
let output =
Command::new(rustc).args(&["--version", "--verbose"]).output().map_err(|e| {
Expand Down

0 comments on commit db6c7af

Please sign in to comment.