Skip to content

Commit cf926f1

Browse files
committed
Update the testing doc to be more clear and include dynamic link
Fixed some typos and changed the link to the link to crates-and-modules to be dynamic.
1 parent 1468b19 commit cf926f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/doc/trpl/testing.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,4 +505,5 @@ you add more examples.
505505
We haven’t covered all of the details with writing documentation tests. For more,
506506
please see the [Documentation chapter](documentation.html)
507507

508-
One final note: Tests *cannot* be run on the binary (main) file. To see more on file arrangement see the [Crates and Modules](https://doc.rust-lang.org/stable/book/crates-and-modules.html) Section
508+
One final note: Tests *cannot* be run on a binary file. To see more on file arrangement see the [Crates and Modules](crates-and-modules.html) section.
509+

0 commit comments

Comments
 (0)