Skip to content

Instantly share code, notes, and snippets.

@BobGneu
Created March 21, 2018 01:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BobGneu/21ae4dca25fb0fb7593f39553db6f972 to your computer and use it in GitHub Desktop.
Save BobGneu/21ae4dca25fb0fb7593f39553db6f972 to your computer and use it in GitHub Desktop.
> cargo init documentation_test
Created library project
> cd ./documentation_test
> cargo test
Compiling documentation_test v0.1.0 (file:///C:/documentation_test)
Finished dev [unoptimized + debuginfo] target(s) in 0.50 secs
Running target\debug\deps\documentation_test-4cd8ffe7876c6af7.exe
running 1 test
test tests::it_works ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
Doc-tests documentation_test
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
> cargo doc
Documenting documentation_test v0.1.0 (file:///C:/documentation_test)
Finished dev [unoptimized + debuginfo] target(s) in 0.67 secs
> [System.Diagnostics.Process]::Start("C:/documentation_test/target/doc/documentation_test/index.html")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment