Loading tutorials
pub, and Markdown. You should also know how to use assert! and assert_eq!.1 min readassert_eq!. This chapter shows how to connect API documentation, build it, and keep examples tested.1 min readpub. Rust documentation examples are normally compiled and run as doc tests. Code block attributes change that behavior.1 min read