Skip to content

Commit c96d531

Browse files
committed
fix version_str comment
1 parent 75da570 commit c96d531

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_interface/src

1 file changed

+1
-1
lines changed

compiler/rustc_interface/src/util.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@ impl<'a> MutVisitor for ReplaceBodyWithLoop<'a, '_> {
922922
}
923923
}
924924

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

0 commit comments

Comments
 (0)