diff options
| author | kickinbahk <kickinbahk@gmail.com> | 2015-10-15 17:44:21 -0700 |
|---|---|---|
| committer | kickinbahk <kickinbahk@gmail.com> | 2015-10-15 17:44:21 -0700 |
| commit | 1468b190ac4f9ec05b88b4efcbb8802d67b401f8 (patch) | |
| tree | a64ee6fe15599db8fbb215c2a645e4a6665f9554 | |
| parent | be3d390cf51545b880c5cd78585fa408c087f786 (diff) | |
| download | rust-1468b190ac4f9ec05b88b4efcbb8802d67b401f8.tar.gz rust-1468b190ac4f9ec05b88b4efcbb8802d67b401f8.zip | |
Add to Testing docs to make more clear
When going through the docs, it is not clear that binary files cannot be tested. Additionally, it is hard to find the proper structure of a Rust crate and it took me several hours of looking through the docs to find the crates and modules section. I think we can link to it from here and it will be beneficial to those who are coming to the language.
| -rw-r--r-- | src/doc/trpl/testing.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/doc/trpl/testing.md b/src/doc/trpl/testing.md index b278ea01276..2f35290b4b1 100644 --- a/src/doc/trpl/testing.md +++ b/src/doc/trpl/testing.md @@ -504,3 +504,5 @@ you add more examples. We haven’t covered all of the details with writing documentation tests. For more, please see the [Documentation chapter](documentation.html) + +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 |
