fix version_str comment
This commit is contained in:
parent
75da570d78
commit
c96d531a92
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue