rust-random / book

The Rust Rand Book
Other
49 stars 19 forks source link

Remove recommendation to test deadlinks #41

Closed dhardy closed 2 years ago

dhardy commented 3 years ago

I don't think this is particularly useful now since cargo doc now reports broken links.

That said, it does still report some stuff, e.g.:

Found invalid urls in rngs/struct.OsRng.html:
        Fragment #tymethod.into_bits at rngs/struct.OsRng.html does not exist!
        Fragment #tymethod.vzip at rngs/struct.OsRng.html does not exist!
        Fragment #tymethod.from_cast at rngs/struct.OsRng.html does not exist!
        Fragment #tymethod.from_bits at rngs/struct.OsRng.html does not exist!
        Fragment #tymethod.cast at rngs/struct.OsRng.html does not exist!

Well, ppv_lite86::VZip has a blanket implementation, as does packed_simd_2::FromCast, etc... but the fact that these show up in the docs at all (regardless of the broken links) is just an (unwanted) side-effect of the docs build process. One that does affect docs.rs but hardly worth mentioning.

A skim through the (many) similar reports does not show anything more interesting.

dhardy commented 3 years ago

We can probably remove from rand's CI too.