mirror of
https://github.com/rust-lang-nursery/rust-cookbook
synced 2024-11-22 11:33:09 +00:00
Fix broken links
This commit is contained in:
parent
deb4ef6783
commit
f8c48a096f
4 changed files with 16 additions and 16 deletions
|
@ -1837,11 +1837,11 @@ fn run() -> Result<()> {
|
||||||
[`rand::thread_rng`]: https://doc.rust-lang.org/rand/rand/fn.thread_rng.html
|
[`rand::thread_rng`]: https://doc.rust-lang.org/rand/rand/fn.thread_rng.html
|
||||||
[`Range`]: https://doc.rust-lang.org/rand/rand/distributions/range/struct.Range.html
|
[`Range`]: https://doc.rust-lang.org/rand/rand/distributions/range/struct.Range.html
|
||||||
[`Read`]: https://doc.rust-lang.org/std/io/trait.Read.html
|
[`Read`]: https://doc.rust-lang.org/std/io/trait.Read.html
|
||||||
[`Regex::captures_iter`]: https://doc.rust-lang.org/regex/regex/struct.Regex.html#method.captures_iter
|
[`Regex::captures_iter`]: https://doc.rust-lang.org/regex/*/regex/struct.Regex.html#method.captures_iter
|
||||||
[`regex::RegexSet`]: https://doc.rust-lang.org/regex/regex/struct.RegexSet.html
|
[`regex::RegexSet`]: https://doc.rust-lang.org/regex/*/regex/struct.RegexSet.html
|
||||||
[`regex::RegexSetBuilder`]: https://doc.rust-lang.org/regex/regex/struct.RegexSetBuilder.html
|
[`regex::RegexSetBuilder`]: https://doc.rust-lang.org/regex/*/regex/struct.RegexSetBuilder.html
|
||||||
[`Regex::replace_all`]: https://docs.rs/regex/*/regex/struct.Regex.html#method.replace_all
|
[`Regex::replace_all`]: https://docs.rs/regex/*/regex/struct.Regex.html#method.replace_all
|
||||||
[`Regex`]: https://doc.rust-lang.org/regex/regex/struct.Regex.html
|
[`Regex`]: https://doc.rust-lang.org/regex/*/regex/struct.Regex.html
|
||||||
[`ring::hmac`]: https://docs.rs/ring/*/ring/hmac/
|
[`ring::hmac`]: https://docs.rs/ring/*/ring/hmac/
|
||||||
[`ring::pbkdf2`]: https://docs.rs/ring/*/ring/pbkdf2/index.html
|
[`ring::pbkdf2`]: https://docs.rs/ring/*/ring/pbkdf2/index.html
|
||||||
[`Rng::gen_range`]: https://doc.rust-lang.org/rand/rand/trait.Rng.html#method.gen_range
|
[`Rng::gen_range`]: https://doc.rust-lang.org/rand/rand/trait.Rng.html#method.gen_range
|
||||||
|
|
|
@ -841,11 +841,11 @@ fn main() {
|
||||||
[`form_urlencoded::parse`]: https://docs.rs/url/*/url/form_urlencoded/fn.parse.html
|
[`form_urlencoded::parse`]: https://docs.rs/url/*/url/form_urlencoded/fn.parse.html
|
||||||
[`FromStrError`]: https://docs.rs/mime/*/mime/struct.FromStrError.html
|
[`FromStrError`]: https://docs.rs/mime/*/mime/struct.FromStrError.html
|
||||||
[`MIME`]: https://docs.rs/mime/*/mime/struct.Mime.html
|
[`MIME`]: https://docs.rs/mime/*/mime/struct.Mime.html
|
||||||
[`percent_decode`]: https://docs.rs/url/*/url/percent_encoding/fn.percent_decode.html
|
[`percent_decode`]: https://docs.rs/percent-encoding/*/percent_encoding/fn.percent_decode.html
|
||||||
[`serde::Deserialize`]: https://docs.rs/serde/\*/serde/trait.Deserialize.html
|
[`serde::Deserialize`]: https://docs.rs/serde/\*/serde/trait.Deserialize.html
|
||||||
[`serialize`]: https://docs.rs/csv/*/csv/struct.Writer.html#method.serialize
|
[`serialize`]: https://docs.rs/csv/*/csv/struct.Writer.html#method.serialize
|
||||||
[`std::str::FromStr`]: https://doc.rust-lang.org/std/str/trait.FromStr.html
|
[`std::str::FromStr`]: https://doc.rust-lang.org/std/str/trait.FromStr.html
|
||||||
[`utf8_percent_encode`]: https://docs.rs/url/*/url/percent_encoding/fn.utf8_percent_encode.html
|
[`utf8_percent_encode`]: https://docs.rs/percent-encoding/*/percent_encoding/fn.utf8_percent_encode.html
|
||||||
[`write_record`]: https://docs.rs/csv/*/csv/struct.Writer.html#method.write_record
|
[`write_record`]: https://docs.rs/csv/*/csv/struct.Writer.html#method.write_record
|
||||||
|
|
||||||
<!-- Other Reference -->
|
<!-- Other Reference -->
|
||||||
|
|
|
@ -485,7 +485,7 @@ fn run() -> Result<()> {
|
||||||
|
|
||||||
[`DateTime::format`]: https://docs.rs/chrono/*/chrono/datetime/struct.DateTime.html#method.format
|
[`DateTime::format`]: https://docs.rs/chrono/*/chrono/datetime/struct.DateTime.html#method.format
|
||||||
[`DateTime`]: https://docs.rs/chrono/*/chrono/datetime/struct.DateTime.html
|
[`DateTime`]: https://docs.rs/chrono/*/chrono/datetime/struct.DateTime.html
|
||||||
[`env_logger::init`]: https://doc.rust-lang.org/log/env_logger/fn.init.html
|
[`env_logger::init`]: https://docs.rs/env_logger/*/env_logger/fn.init.html
|
||||||
[`Local::now`]: https://docs.rs/chrono/*/chrono/offset/local/struct.Local.html#method.now
|
[`Local::now`]: https://docs.rs/chrono/*/chrono/offset/local/struct.Local.html#method.now
|
||||||
[`log4rs::append::file::FileAppender`]: https://docs.rs/log4rs/*/log4rs/append/file/struct.FileAppender.html
|
[`log4rs::append::file::FileAppender`]: https://docs.rs/log4rs/*/log4rs/append/file/struct.FileAppender.html
|
||||||
[`log4rs::config::Config`]: https://docs.rs/log4rs/*/log4rs/config/struct.Config.html
|
[`log4rs::config::Config`]: https://docs.rs/log4rs/*/log4rs/config/struct.Config.html
|
||||||
|
@ -494,18 +494,18 @@ fn run() -> Result<()> {
|
||||||
[`log::LogLevel`]: https://doc.rust-lang.org/log/log/enum.LogLevel.html
|
[`log::LogLevel`]: https://doc.rust-lang.org/log/log/enum.LogLevel.html
|
||||||
[`log::LogLevelFilter`]: https://doc.rust-lang.org/log/log/enum.LogLevelFilter.html
|
[`log::LogLevelFilter`]: https://doc.rust-lang.org/log/log/enum.LogLevelFilter.html
|
||||||
[`log::set_logger`]: https://doc.rust-lang.org/log/log/fn.set_logger.html
|
[`log::set_logger`]: https://doc.rust-lang.org/log/log/fn.set_logger.html
|
||||||
[`LogBuilder::format`]: https://doc.rust-lang.org/log/env_logger/struct.LogBuilder.html#method.format
|
[`LogBuilder::format`]: https://docs.rs/env_logger/*/env_logger/struct.LogBuilder.html#method.format
|
||||||
[`LogBuilder::init`]: https://doc.rust-lang.org/log/env_logger/struct.LogBuilder.html#method.init
|
[`LogBuilder::init`]: https://docs.rs/env_logger/*/env_logger/struct.LogBuilder.html#method.init
|
||||||
[`LogBuilder::parse`]: https://doc.rust-lang.org/log/env_logger/struct.LogBuilder.html#method.parse
|
[`LogBuilder::parse`]: https://docs.rs/env_logger/*/env_logger/struct.LogBuilder.html#method.parse
|
||||||
[`LogBuilder::target`]: https://doc.rust-lang.org/log/env_logger/struct.Builder.html#method.target
|
[`LogBuilder::target`]: https://docs.rs/env_logger/*/env_logger/struct.Builder.html#method.target
|
||||||
[`LogBuilder`]: https://doc.rust-lang.org/log/env_logger/struct.Builder.html
|
[`LogBuilder`]: https://docs.rs/env_logger/*/env_logger/struct.Builder.html
|
||||||
[`LogRecord::args`]: https://doc.rust-lang.org/log/log/struct.LogRecord.html#method.args
|
[`LogRecord::args`]: https://doc.rust-lang.org/log/log/struct.LogRecord.html#method.args
|
||||||
[`LogRecord::level`]: https://doc.rust-lang.org/log/log/struct.LogRecord.html#method.level
|
[`LogRecord::level`]: https://doc.rust-lang.org/log/log/struct.LogRecord.html#method.level
|
||||||
[`RUST_LOG`]: https://doc.rust-lang.org/log/env_logger/#enabling-logging
|
[`RUST_LOG`]: https://docs.rs/env_logger/*/env_logger/#enabling-logging
|
||||||
[`strftime::specifiers`]: https://docs.rs/chrono/*/chrono/format/strftime/index.html#specifiers
|
[`strftime::specifiers`]: https://docs.rs/chrono/*/chrono/format/strftime/index.html#specifiers
|
||||||
[`syslog::Facility`]: https://docs.rs/syslog/*/syslog/enum.Facility.html
|
[`syslog::Facility`]: https://docs.rs/syslog/*/syslog/enum.Facility.html
|
||||||
[`syslog::init`]: https://docs.rs/syslog/*/syslog/fn.init.html
|
[`syslog::init`]: https://docs.rs/syslog/*/syslog/fn.init.html
|
||||||
[`Target::Stdout`]: https://doc.rust-lang.org/log/env_logger/enum.Target.html
|
[`Target::Stdout`]: https://docs.rs/env_logger/*/env_logger/enum.Target.html
|
||||||
|
|
||||||
<!-- Other Reference -->
|
<!-- Other Reference -->
|
||||||
|
|
||||||
|
|
|
@ -1278,7 +1278,7 @@ fn run() -> Result<()> {
|
||||||
[`parse`]: https://docs.rs/url/*/url/struct.Url.html#method.parse
|
[`parse`]: https://docs.rs/url/*/url/struct.Url.html#method.parse
|
||||||
[`Position::BeforePath`]: https://docs.rs/url/*/url/enum.Position.html#variant.BeforePath
|
[`Position::BeforePath`]: https://docs.rs/url/*/url/enum.Position.html#variant.BeforePath
|
||||||
[`read_to_string`]: https://doc.rust-lang.org/std/io/trait.Read.html#method.read_to_string
|
[`read_to_string`]: https://doc.rust-lang.org/std/io/trait.Read.html#method.read_to_string
|
||||||
[`Regex::captures_iter`]: https://doc.rust-lang.org/regex/regex/struct.Regex.html#method.captures_iter
|
[`Regex::captures_iter`]: https://doc.rust-lang.org/regex/*/regex/struct.Regex.html#method.captures_iter
|
||||||
[`RequestBuilder::basic_auth`]: https://docs.rs/reqwest/*/reqwest/struct.RequestBuilder.html#method.basic_auth
|
[`RequestBuilder::basic_auth`]: https://docs.rs/reqwest/*/reqwest/struct.RequestBuilder.html#method.basic_auth
|
||||||
[`RequestBuilder::body`]: https://docs.rs/reqwest/*/reqwest/struct.RequestBuilder.html#method.body
|
[`RequestBuilder::body`]: https://docs.rs/reqwest/*/reqwest/struct.RequestBuilder.html#method.body
|
||||||
[`RequestBuilder::header`]: https://docs.rs/reqwest/*/reqwest/struct.RequestBuilder.html#method.header
|
[`RequestBuilder::header`]: https://docs.rs/reqwest/*/reqwest/struct.RequestBuilder.html#method.header
|
||||||
|
@ -1288,7 +1288,7 @@ fn run() -> Result<()> {
|
||||||
[`reqwest::Client`]: https://docs.rs/reqwest/*/reqwest/struct.Client.html
|
[`reqwest::Client`]: https://docs.rs/reqwest/*/reqwest/struct.Client.html
|
||||||
[`reqwest::get`]: https://docs.rs/reqwest/*/reqwest/fn.get.html
|
[`reqwest::get`]: https://docs.rs/reqwest/*/reqwest/fn.get.html
|
||||||
[`reqwest::header::ContentType`]: https://docs.rs/reqwest/*/reqwest/header/struct.ContentType.html
|
[`reqwest::header::ContentType`]: https://docs.rs/reqwest/*/reqwest/header/struct.ContentType.html
|
||||||
[`reqwest::header::ContentRange`]: https://docs.rs/reqwest/*/reqwest/header/struct.ContentRange.htm
|
[`reqwest::header::ContentRange`]: https://docs.rs/reqwest/*/reqwest/header/struct.ContentRange.html
|
||||||
[`reqwest::header::Range`]: https://docs.rs/reqwest/*/reqwest/header/enum.Range.html
|
[`reqwest::header::Range`]: https://docs.rs/reqwest/*/reqwest/header/enum.Range.html
|
||||||
[`reqwest::Headers::get`]: https://docs.rs/reqwest/*/reqwest/header/struct.Headers.html#method.get
|
[`reqwest::Headers::get`]: https://docs.rs/reqwest/*/reqwest/header/struct.Headers.html#method.get
|
||||||
[`reqwest::RequestBuilder`]: https://docs.rs/reqwest/*/reqwest/struct.RequestBuilder.html
|
[`reqwest::RequestBuilder`]: https://docs.rs/reqwest/*/reqwest/struct.RequestBuilder.html
|
||||||
|
|
Loading…
Reference in a new issue