fix version_str comment

This commit is contained in:
Ralf Jung 2021-05-15 14:22:29 +02:00
parent 75da570d78
commit c96d531a92

View file

@ -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")
}