Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 634a709

Browse files
WaffleLapkinantoyo
authored andcommitted
Prefer doc comments over //-comments in compiler
1 parent 6f7a017 commit 634a709

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/context.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ pub struct CodegenCx<'gcc, 'tcx> {
8888
pub vtables: RefCell<FxHashMap<(Ty<'tcx>, Option<ty::PolyExistentialTraitRef<'tcx>>), RValue<'gcc>>>,
8989

9090
// TODO(antoyo): improve the SSA API to not require those.
91-
// Mapping from function pointer type to indexes of on stack parameters.
91+
/// Mapping from function pointer type to indexes of on stack parameters.
9292
pub on_stack_params: RefCell<FxHashMap<FunctionPtrType<'gcc>, FxHashSet<usize>>>,
93-
// Mapping from function to indexes of on stack parameters.
93+
/// Mapping from function to indexes of on stack parameters.
9494
pub on_stack_function_params: RefCell<FxHashMap<Function<'gcc>, FxHashSet<usize>>>,
9595

9696
/// Cache of emitted const globals (value -> global)

0 commit comments

Comments
 (0)