]> git.lizzy.rs Git - rust.git/commitdiff
Make a comment better.
authorAustin Hicks <camlorn@camlorn.net>
Thu, 9 Mar 2017 03:20:07 +0000 (22:20 -0500)
committerSimonas Kazlauskas <git@kazlauskas.me>
Tue, 11 Apr 2017 11:36:08 +0000 (14:36 +0300)
src/librustc/session/mod.rs

index b32d05971ff3b8024540aee35a8d689ab2bd5ad3..1be7d1afe45a8ccd7951f6e25c64334691b33fe5 100644 (file)
@@ -522,7 +522,7 @@ pub fn print_perf_stats(&self) {
                  duration_to_secs_str(self.perf_stats.decode_def_path_tables_time.get()));
     }
 
-    /// We want to know if we're allowed to do an optimization for crate crate.
+    /// We want to know if we're allowed to do an optimization for crate foo from -z fuel=foo=n.
     /// This expends fuel if applicable, and records fuel if applicable.
     pub fn consider_optimizing<T: Fn() -> String>(&self, crate_name: &str, msg: T) -> bool {
         let mut ret = true;