3 ms·
You can use it in sample code in the documentation, but you will need to add a bit of boilerplate around it: https://doc.rust-lang.org/rustdoc/write-documentati
by erk__ 4y ago
You can use it in sample code in the documentation, but you will need to add a bit of boilerplate around it: https://doc.rust-lang.org/rustdoc/write-documentation/documentation-tests.html#using--in-doc-tests https://doc.rust-lang.org/rustdoc/write-documentation/docume...