Skip to content

Commit ac66570

Browse files
authored
Fix documentation
1 parent 2564811 commit ac66570

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_smir/src/rustc_internal

1 file changed

+1
-1
lines changed

compiler/rustc_smir/src/rustc_internal/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ macro_rules! optional {
293293
};
294294
}
295295

296-
/// Prefer using [run] and [run_with_tcx] instead.
296+
/// Prefer using [run!] and [run_with_tcx] instead.
297297
///
298298
/// This macro implements the instantiation of a StableMIR driver, and it will invoke
299299
/// the given callback after the compiler analyses.

0 commit comments

Comments
 (0)