diff options
| author | Amanda Stjerna <amanda.stjerna@it.uu.se> | 2024-06-12 15:40:01 +0200 |
|---|---|---|
| committer | Amanda Stjerna <amanda.stjerna@it.uu.se> | 2024-06-12 15:48:34 +0200 |
| commit | d63708b9074ebdc69e21bee8588d28db497e9ccd (patch) | |
| tree | f18127840605aa32a6e7175dd74f76b26f737050 /compiler/rustc_data_structures | |
| parent | 2e1e119ba1189eeff2d76ed84248845f06fef1f8 (diff) | |
| download | rust-d63708b9074ebdc69e21bee8588d28db497e9ccd.tar.gz rust-d63708b9074ebdc69e21bee8588d28db497e9ccd.zip | |
Address code review comments on the comments
Diffstat (limited to 'compiler/rustc_data_structures')
| -rw-r--r-- | compiler/rustc_data_structures/src/graph/scc/mod.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/graph/scc/mod.rs b/compiler/rustc_data_structures/src/graph/scc/mod.rs index 40d1d8d11d3..8b96b36a851 100644 --- a/compiler/rustc_data_structures/src/graph/scc/mod.rs +++ b/compiler/rustc_data_structures/src/graph/scc/mod.rs @@ -80,7 +80,10 @@ struct SccDetails<A: Annotation> { // The name of this struct should discourage you from making it public and leaking // its representation. This message was left here by one who came before you, -// who learnt the hard way that making even small changes in representation is difficult when it's publicly inspectable. Obey the law of Demeter! +// who learnt the hard way that making even small changes in representation +// is difficult when it's publicly inspectable. +// +// Obey the law of Demeter! struct SccData<S: Idx, A: Annotation> { /// Maps SCC indices to their metadata, including /// offsets into `all_successors`. |
