Skip to content

Commit 78a59fb

Browse files
dominikWinbudziq
authored andcommitted
Move rand doc links to docs.rs
1 parent ad658f8 commit 78a59fb

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/basics.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -1809,7 +1809,7 @@ fn run() -> Result<()> {
18091809
[`gen_ascii_chars`]: https://docs.rs/rand/*/rand/trait.Rng.html#method.gen_ascii_chars
18101810
[`HashMap`]: https://doc.rust-lang.org/std/collections/struct.HashMap.html
18111811
[`hmac::Signature`]: https://briansmith.org/rustdoc/ring/hmac/struct.Signature.html
1812-
[`IndependentSample::ind_sample`]: https://doc.rust-lang.org/rand/*/rand/distributions/trait.IndependentSample.html#tymethod.ind_sample
1812+
[`IndependentSample::ind_sample`]: https://docs.rs/rand/*/rand/distributions/trait.IndependentSample.html#tymethod.ind_sample
18131813
[`Lines`]: https://doc.rust-lang.org/std/io/struct.Lines.html
18141814
[`Metadata::is_file`]: https://doc.rust-lang.org/std/fs/struct.Metadata.html#method.is_file
18151815
[`Metadata::modified`]: https://doc.rust-lang.org/std/fs/struct.Metadata.html#method.modified
@@ -1823,19 +1823,19 @@ fn run() -> Result<()> {
18231823
[`NaiveDateTime`]: https://docs.rs/chrono/*/chrono/naive/struct.NaiveDateTime.html
18241824
[`NaiveTime::from_hms`]: https://docs.rs/chrono/*/chrono/naive/struct.NaiveTime.html#method.from_hms
18251825
[`NaiveTime`]: https://docs.rs/chrono/*/chrono/naive/struct.NaiveTime.html
1826-
[`Normal`]: https://doc.rust-lang.org/rand/*/rand/distributions/normal/struct.Normal.html
1826+
[`Normal`]: https://docs.rs/rand/*/rand/distributions/normal/struct.Normal.html
18271827
[`num_cpus::get`]: https://docs.rs/num_cpus/*/num_cpus/fn.get.html
18281828
[`offset::FixedOffset`]: https://docs.rs/chrono/*/chrono/offset/struct.FixedOffset.html
18291829
[`offset::Local::now`]: https://docs.rs/chrono/*/chrono/offset/struct.Local.html#method.now
18301830
[`Output`]: https://doc.rust-lang.org/std/process/struct.Output.html
18311831
[`pbkdf2::derive`]: https://briansmith.org/rustdoc/ring/pbkdf2/fn.derive.html
18321832
[`pbkdf2::verify`]: https://briansmith.org/rustdoc/ring/pbkdf2/fn.verify.html
18331833
[`process::Stdio`]: https://doc.rust-lang.org/std/process/struct.Stdio.html
1834-
[`rand::Rand`]: https://doc.rust-lang.org/rand/*/rand/trait.Rand.html
1835-
[`rand::Rand`]: https://doc.rust-lang.org/rand/*/rand/trait.Rand.html
1836-
[`rand::Rng`]: https://doc.rust-lang.org/rand/*/rand/trait.Rng.html
1837-
[`rand::thread_rng`]: https://doc.rust-lang.org/rand/*/rand/fn.thread_rng.html
1838-
[`Range`]: https://doc.rust-lang.org/rand/*/rand/distributions/range/struct.Range.html
1834+
[`rand::Rand`]: https://docs.rs/rand/*/rand/trait.Rand.html
1835+
[`rand::Rand`]: https://docs.rs/rand/*/rand/trait.Rand.html
1836+
[`rand::Rng`]: https://docs.rs/rand/*/rand/trait.Rng.html
1837+
[`rand::thread_rng`]: https://docs.rs/rand/*/rand/fn.thread_rng.html
1838+
[`Range`]: https://docs.rs/rand/*/rand/distributions/range/struct.Range.html
18391839
[`Read`]: https://doc.rust-lang.org/std/io/trait.Read.html
18401840
[`Regex::captures_iter`]: https://doc.rust-lang.org/regex/*/regex/struct.Regex.html#method.captures_iter
18411841
[`regex::RegexSet`]: https://doc.rust-lang.org/regex/*/regex/struct.RegexSet.html
@@ -1844,7 +1844,7 @@ fn run() -> Result<()> {
18441844
[`Regex`]: https://doc.rust-lang.org/regex/*/regex/struct.Regex.html
18451845
[`ring::hmac`]: https://briansmith.org/rustdoc/ring/hmac/
18461846
[`ring::pbkdf2`]: https://briansmith.org/rustdoc/ring/pbkdf2/index.html
1847-
[`Rng::gen_range`]: https://doc.rust-lang.org/rand/*/rand/trait.Rng.html#method.gen_range
1847+
[`Rng::gen_range`]: https://docs.rs/rand/*/rand/trait.Rng.html#method.gen_range
18481848
[`RwLock`]: https://doc.rust-lang.org/std/sync/struct.RwLock.html
18491849
[`SecureRandom::fill`]: https://briansmith.org/rustdoc/ring/rand/trait.SecureRandom.html#tymethod.fill
18501850
[`seek`]: https://doc.rust-lang.org/std/fs/struct.File.html#method.seek
@@ -1858,7 +1858,7 @@ fn run() -> Result<()> {
18581858
[`Timelike`]: https://docs.rs/chrono/*/chrono/trait.Timelike.html
18591859
[`Utc::now`]: https://docs.rs/chrono/*/chrono/offset/struct.Utc.html#method.now
18601860
[Matching]:https://docs.rs/error-chain/*/error_chain/#matching-errors
1861-
[rand-distributions]: https://doc.rust-lang.org/rand/*/rand/distributions/index.html
1861+
[rand-distributions]: https://docs.rs/rand/*/rand/distributions/index.html
18621862
[replacement string syntax]: https://docs.rs/regex/*/regex/struct.Regex.html#replacement-string-syntax
18631863

18641864
<!-- Other Reference -->

0 commit comments

Comments
 (0)