From 41b624d40c969b5fc6eebd6c798cff522a5d3947 Mon Sep 17 00:00:00 2001 From: lcnr Date: Mon, 8 Jan 2024 10:19:15 +0100 Subject: [PATCH] use doc comments --- compiler/rustc_trait_selection/src/solve/search_graph.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/rustc_trait_selection/src/solve/search_graph.rs b/compiler/rustc_trait_selection/src/solve/search_graph.rs index 2a161c2d9564..31a778263f01 100644 --- a/compiler/rustc_trait_selection/src/solve/search_graph.rs +++ b/compiler/rustc_trait_selection/src/solve/search_graph.rs @@ -22,10 +22,10 @@ rustc_index::newtype_index! { struct StackEntry<'tcx> { input: CanonicalInput<'tcx>, available_depth: Limit, - // The maximum depth reached by this stack entry, only up-to date - // for the top of the stack and lazily updated for the rest. + /// The maximum depth reached by this stack entry, only up-to date + /// for the top of the stack and lazily updated for the rest. reached_depth: StackDepth, - // In case of a cycle, the depth of the root. + /// In case of a cycle, the depth of the root. cycle_root_depth: StackDepth, encountered_overflow: bool,