We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6f99c15 + c7bcb49 commit f7ad590Copy full SHA for f7ad590
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