Skip to content

Commit

Permalink
fix version_str comment
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed May 15, 2021
1 parent 75da570 commit c96d531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_interface/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ impl<'a> MutVisitor for ReplaceBodyWithLoop<'a, '_> {
}
}

/// Returns a version string such as "rustc 1.46.0 (04488afe3 2020-08-24)"
/// Returns a version string such as "1.46.0 (04488afe3 2020-08-24)"
pub fn version_str() -> Option<&'static str> {
option_env!("CFG_VERSION")
}
Expand Down

0 comments on commit c96d531

Please sign in to comment.