about summary refs log tree commit diff
path: root/compiler/rustc_interface
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2021-05-15 14:22:29 +0200
committerRalf Jung <post@ralfj.de>2021-05-15 14:22:29 +0200
commitc96d531a927d2f9fa927513a28135fc875b3d647 (patch)
treea14f1df5b9cf3ab96851c6de46154d9e4fa876df /compiler/rustc_interface
parent75da570d784a798a34ff1e5048cd9a6a2fb23170 (diff)
downloadrust-c96d531a927d2f9fa927513a28135fc875b3d647.tar.gz
rust-c96d531a927d2f9fa927513a28135fc875b3d647.zip
fix version_str comment
Diffstat (limited to 'compiler/rustc_interface')
-rw-r--r--compiler/rustc_interface/src/util.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/util.rs b/compiler/rustc_interface/src/util.rs
index fd29053433e..7b1660b501b 100644
--- a/compiler/rustc_interface/src/util.rs
+++ b/compiler/rustc_interface/src/util.rs
@@ -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")
 }