diff options
| author | lcnr <rust@lcnr.de> | 2024-01-08 10:19:15 +0100 |
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2024-01-08 10:19:15 +0100 |
| commit | 41b624d40c969b5fc6eebd6c798cff522a5d3947 (patch) | |
| tree | 4f1b8a5d4f540db3833cf330182880d9a22d38c7 /compiler/rustc_trait_selection/src | |
| parent | 0ee9cfd54db7b5f4be35f026588904500c866196 (diff) | |
| download | rust-41b624d40c969b5fc6eebd6c798cff522a5d3947.tar.gz rust-41b624d40c969b5fc6eebd6c798cff522a5d3947.zip | |
use doc comments
Diffstat (limited to 'compiler/rustc_trait_selection/src')
| -rw-r--r-- | compiler/rustc_trait_selection/src/solve/search_graph.rs | 6 |
1 files 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 2a161c2d956..31a778263f0 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, |
