Skip to content

Commit d821e98

Browse files
ahicks92nagisa
authored andcommitted
Make a comment better.
1 parent 0931e20 commit d821e98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/session/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ impl Session {
522522
duration_to_secs_str(self.perf_stats.decode_def_path_tables_time.get()));
523523
}
524524

525-
/// We want to know if we're allowed to do an optimization for crate crate.
525+
/// We want to know if we're allowed to do an optimization for crate foo from -z fuel=foo=n.
526526
/// This expends fuel if applicable, and records fuel if applicable.
527527
pub fn consider_optimizing<T: Fn() -> String>(&self, crate_name: &str, msg: T) -> bool {
528528
let mut ret = true;

0 commit comments

Comments
 (0)