miniblog.
← Back to all posts
May 23, 2021 at 08:22
The Rust documentation host,
https://docs.rs/
, has a really cute nudge to make sure your code has documentation. It exposes the docs coverage percentage in the UI!
Docs.rs
docs.rs/
Wilfred Hughes
Related Posts
Feb 9, 2017 at 20:18
I'm still not sure that coverage percentages are very useful. A good UI that shows which (and when) lines are covered is much more powerful.
Wilfred Hughes
Shared words: sure, coverage, percentage, UI Score: 83
Apr 28, 2022 at 02:50
The examples coverage in Rust is exceptionally good. It's weird how few languages include an example in their stdlib docs for sorting.
https://doc.rust-lang.org/std/vec/struct.Vec.html#method.sort
Vec in std::vec - Rust
A contiguous growable array type, written as `Vec<T>`, short for ‘vector’.
Wilfred Hughes
Shared words: Rust, docs, coverage Score: 71.5
Jan 6, 2017 at 19:49
Badge your Rust project according to the percentage of unsafe code: neat idea!
GitHub - alexkehayias/cargo-safety: cargo-safety provides safety checks for Rust projects by finding all uses of unsafe code in dependencies.
cargo-safety provides safety checks for Rust projects by finding all uses of unsafe code in dependencies. - alexkehayias/cargo-safety
Wilfred Hughes
Shared words: Rust, code, percentage Score: 70.9