Skip to content

Commit

Permalink
修复11-5示例代码未显示的问题
Browse files Browse the repository at this point in the history
ch11-01-writing-tests.md
  • Loading branch information
Rainanxu authored Dec 4, 2024
1 parent 50e2d89 commit 6e18ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch11-01-writing-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Cargo 编译并运行了测试。可以看到 `running 1 test` 这一行。下
<span class="filename">文件名:src/lib.rs</span>

```rust,noplayground
{{#rustdoc_include ../listings/ch11-writing-automated-tests/listing-11-05/src/lib.rs:here}}
{{#rustdoc_include ../listings/ch11-writing-automated-tests/listing-11-05/src/lib.rs}}
```

<span class="caption">示例 11-5:第五章中 `Rectangle` 结构体和其 `can_hold` 方法</span>
Expand Down

0 comments on commit 6e18ec5

Please sign in to comment.