Skip to content

Commit f33936c

Browse files
committed
Fix comment
1 parent d87db8e commit f33936c

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_trait_selection/src/traits

1 file changed

+1
-1
lines changed

compiler/rustc_trait_selection/src/traits/vtable.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ fn prepare_vtable_segments_inner<'tcx, T>(
9292

9393
// the main traversal loop:
9494
// basically we want to cut the inheritance directed graph into a few non-overlapping slices of nodes
95-
// that each node is emitted after all its descendents have been emitted.
95+
// such that each node is emitted after all its descendants have been emitted.
9696
// so we convert the directed graph into a tree by skipping all previously visited nodes using a visited set.
9797
// this is done on the fly.
9898
// Each loop run emits a slice - it starts by find a "childless" unvisited node, backtracking upwards, and it

0 commit comments

Comments
 (0)