We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8819d3e commit c7bcb49Copy full SHA for c7bcb49
1 file changed
src/hello/print/print_display/testcase_list.md
@@ -24,8 +24,7 @@ struct List(Vec<i32>);
24
25
impl fmt::Display for List {
26
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
27
- // Extract the value using tuple indexing,
28
- // and create a reference to `vec`.
+ // Create a reference to the Vec<i32> stored in the List struct.
29
let vec = &self.0;
30
31
write!(f, "[")?;
0 commit comments