Skip to content

Commit 561e814

Browse files
committed
Fix links in lib.rs
1 parent 7e93254 commit 561e814

File tree

3 files changed

+39
-37
lines changed

3 files changed

+39
-37
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
uses: algesten/snowflake@v1.1.0
5353
with:
5454
check_diff: true
55-
line_width_rules: 'Cargo.toml:150'
55+
line_width_rules: 'Cargo.toml:150;README.md:150;lib.rs:150'
5656

5757
build_versions:
5858
strategy:

README.md

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -472,25 +472,26 @@ something we do lightly; our ambition is to be as conservative with MSRV as poss
472472
[rustls-platform-verifier]: https://crates.io/crates/rustls-platform-verifier
473473
[webpki-roots]: https://crates.io/crates/webpki-roots
474474
[`Arc`]: https://doc.rust-lang.org/std/sync/struct.Arc.html
475-
[`Agent`]: https://docs.rs/ureq/3.0.0-rc4/ureq/struct.Agent.html
476-
[`Error`]: https://docs.rs/ureq/3.0.0-rc4/ureq/enum.Error.html
477-
[`http_status_as_error()`]: https://docs.rs/ureq/3.0.0-rc4/ureq/config/struct.ConfigBuilder.html#method.http_status_as_error
475+
[`Agent`]: https://docs.rs/ureq/latest/ureq/struct.Agent.html
476+
[`Error`]: https://docs.rs/ureq/latest/ureq/enum.Error.html
477+
[`http_status_as_error()`]: https://docs.rs/ureq/latest/ureq/config/struct.ConfigBuilder.html#method.http_status_as_error
478478
[SCT]: https://en.wikipedia.org/wiki/Certificate_Transparency
479479
[CRL]: https://en.wikipedia.org/wiki/Certificate_revocation_list
480-
[PR818]: https://github.com/algesten/ureq/pull/818
481-
[`request.send_json()`]: https://docs.rs/ureq/3.0.0-rc4/ureq/struct.RequestBuilder.html#method.send_json
482-
[`body.read_json()`]: https://docs.rs/ureq/3.0.0-rc4/ureq/struct.Body.html#method.read_json
483-
[`AsSendBody`]: https://docs.rs/ureq/3.0.0-rc4/ureq/trait.AsSendBody.html
484-
[`SendBody::from_json()`]: https://docs.rs/ureq/3.0.0-rc4/ureq/struct.SendBody.html#method.from_json
480+
[PR 818]: https://github.com/algesten/ureq/pull/818
481+
[`request.send_json()`]: https://docs.rs/ureq/latest/ureq/struct.RequestBuilder.html#method.send_json
482+
[`body.read_json()`]: https://docs.rs/ureq/latest/ureq/struct.Body.html#method.read_json
483+
[`AsSendBody`]: https://docs.rs/ureq/latest/ureq/trait.AsSendBody.html
484+
[`SendBody::from_json()`]: https://docs.rs/ureq/latest/ureq/struct.SendBody.html#method.from_json
485485
[`std::io::Read`]: https://doc.rust-lang.org/std/io/trait.Read.html
486-
[`SendBody::from_reader()`]: https://docs.rs/ureq/3.0.0-rc4/ureq/struct.SendBody.html#method.from_reader
487-
[`SendBody::from_owned_reader()`]: https://docs.rs/ureq/3.0.0-rc4/ureq/struct.SendBody.html#method.from_owned_reader
488-
[`Body`]: https://docs.rs/ureq/3.0.0-rc4/ureq/struct.Body.html
489-
[`request.send_form()`]: https://docs.rs/ureq/3.0.0-rc4/ureq/struct.RequestBuilder.html#method.send_form
490-
[`Body::read_to_string()`]: https://docs.rs/ureq/3.0.0-rc4/ureq/struct.Body.html#method.read_to_string
491-
[`Body::as_reader()`]: https://docs.rs/ureq/3.0.0-rc4/ureq/struct.Body.html#method.as_reader
492-
[`Body::with_config()`]: https://docs.rs/ureq/3.0.0-rc4/ureq/struct.Body.html#method.with_config
493-
[`Transport`]: https://docs.rs/ureq/3.0.0-rc4/ureq/unversioned/transport/trait.Transport.html
494-
[`Resolver`]: https://docs.rs/ureq/3.0.0-rc4/ureq/unversioned/resolver/trait.Resolver.html
495-
[`unversioned`]: https://docs.rs/ureq/3.0.0-rc4/ureq/unversioned/index.html
486+
[`SendBody::from_reader()`]: https://docs.rs/ureq/latest/ureq/struct.SendBody.html#method.from_reader
487+
[`SendBody::from_owned_reader()`]: https://docs.rs/ureq/latest/ureq/struct.SendBody.html#method.from_owned_reader
488+
[`Body`]: https://docs.rs/ureq/latest/ureq/struct.Body.html
489+
[`request.send_form()`]: https://docs.rs/ureq/latest/ureq/struct.RequestBuilder.html#method.send_form
490+
[`Body::read_to_string()`]: https://docs.rs/ureq/latest/ureq/struct.Body.html#method.read_to_string
491+
[`Body::as_reader()`]: https://docs.rs/ureq/latest/ureq/struct.Body.html#method.as_reader
492+
[`Body::with_config()`]: https://docs.rs/ureq/latest/ureq/struct.Body.html#method.with_config
493+
[`Transport`]: https://docs.rs/ureq/latest/ureq/unversioned/transport/trait.Transport.html
494+
[`Resolver`]: https://docs.rs/ureq/latest/ureq/unversioned/resolver/trait.Resolver.html
495+
[`unversioned`]: https://docs.rs/ureq/latest/ureq/unversioned/index.html
496496
[`CryptoProvider`]: https://docs.rs/rustls/latest/rustls/crypto/struct.CryptoProvider.html
497+
[`unversioned::multipart`]: https://docs.rs/ureq/latest/ureq/unversioned/multipart/index.html

src/lib.rs

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -492,28 +492,29 @@
492492
//! [rustls-platform-verifier]: https://crates.io/crates/rustls-platform-verifier
493493
//! [webpki-roots]: https://crates.io/crates/webpki-roots
494494
//! [`Arc`]: https://doc.rust-lang.org/std/sync/struct.Arc.html
495-
//! [`Agent`]: https://docs.rs/ureq/3.0.0-rc4/ureq/struct.Agent.html
496-
//! [`Error`]: https://docs.rs/ureq/3.0.0-rc4/ureq/enum.Error.html
497-
//! [`http_status_as_error()`]: https://docs.rs/ureq/3.0.0-rc4/ureq/config/struct.ConfigBuilder.html#method.http_status_as_error
495+
//! [`Agent`]: https://docs.rs/ureq/latest/ureq/struct.Agent.html
496+
//! [`Error`]: https://docs.rs/ureq/latest/ureq/enum.Error.html
497+
//! [`http_status_as_error()`]: https://docs.rs/ureq/latest/ureq/config/struct.ConfigBuilder.html#method.http_status_as_error
498498
//! [SCT]: https://en.wikipedia.org/wiki/Certificate_Transparency
499499
//! [CRL]: https://en.wikipedia.org/wiki/Certificate_revocation_list
500-
//! [PR818]: https://github.com/algesten/ureq/pull/818
501-
//! [`request.send_json()`]: https://docs.rs/ureq/3.0.0-rc4/ureq/struct.RequestBuilder.html#method.send_json
502-
//! [`body.read_json()`]: https://docs.rs/ureq/3.0.0-rc4/ureq/struct.Body.html#method.read_json
503-
//! [`AsSendBody`]: https://docs.rs/ureq/3.0.0-rc4/ureq/trait.AsSendBody.html
504-
//! [`SendBody::from_json()`]: https://docs.rs/ureq/3.0.0-rc4/ureq/struct.SendBody.html#method.from_json
500+
//! [PR 818]: https://github.com/algesten/ureq/pull/818
501+
//! [`request.send_json()`]: https://docs.rs/ureq/latest/ureq/struct.RequestBuilder.html#method.send_json
502+
//! [`body.read_json()`]: https://docs.rs/ureq/latest/ureq/struct.Body.html#method.read_json
503+
//! [`AsSendBody`]: https://docs.rs/ureq/latest/ureq/trait.AsSendBody.html
504+
//! [`SendBody::from_json()`]: https://docs.rs/ureq/latest/ureq/struct.SendBody.html#method.from_json
505505
//! [`std::io::Read`]: https://doc.rust-lang.org/std/io/trait.Read.html
506-
//! [`SendBody::from_reader()`]: https://docs.rs/ureq/3.0.0-rc4/ureq/struct.SendBody.html#method.from_reader
507-
//! [`SendBody::from_owned_reader()`]: https://docs.rs/ureq/3.0.0-rc4/ureq/struct.SendBody.html#method.from_owned_reader
508-
//! [`Body`]: https://docs.rs/ureq/3.0.0-rc4/ureq/struct.Body.html
509-
//! [`request.send_form()`]: https://docs.rs/ureq/3.0.0-rc4/ureq/struct.RequestBuilder.html#method.send_form
510-
//! [`Body::read_to_string()`]: https://docs.rs/ureq/3.0.0-rc4/ureq/struct.Body.html#method.read_to_string
511-
//! [`Body::as_reader()`]: https://docs.rs/ureq/3.0.0-rc4/ureq/struct.Body.html#method.as_reader
512-
//! [`Body::with_config()`]: https://docs.rs/ureq/3.0.0-rc4/ureq/struct.Body.html#method.with_config
513-
//! [`Transport`]: https://docs.rs/ureq/3.0.0-rc4/ureq/unversioned/transport/trait.Transport.html
514-
//! [`Resolver`]: https://docs.rs/ureq/3.0.0-rc4/ureq/unversioned/resolver/trait.Resolver.html
515-
//! [`unversioned`]: https://docs.rs/ureq/3.0.0-rc4/ureq/unversioned/index.html
506+
//! [`SendBody::from_reader()`]: https://docs.rs/ureq/latest/ureq/struct.SendBody.html#method.from_reader
507+
//! [`SendBody::from_owned_reader()`]: https://docs.rs/ureq/latest/ureq/struct.SendBody.html#method.from_owned_reader
508+
//! [`Body`]: https://docs.rs/ureq/latest/ureq/struct.Body.html
509+
//! [`request.send_form()`]: https://docs.rs/ureq/latest/ureq/struct.RequestBuilder.html#method.send_form
510+
//! [`Body::read_to_string()`]: https://docs.rs/ureq/latest/ureq/struct.Body.html#method.read_to_string
511+
//! [`Body::as_reader()`]: https://docs.rs/ureq/latest/ureq/struct.Body.html#method.as_reader
512+
//! [`Body::with_config()`]: https://docs.rs/ureq/latest/ureq/struct.Body.html#method.with_config
513+
//! [`Transport`]: https://docs.rs/ureq/latest/ureq/unversioned/transport/trait.Transport.html
514+
//! [`Resolver`]: https://docs.rs/ureq/latest/ureq/unversioned/resolver/trait.Resolver.html
515+
//! [`unversioned`]: https://docs.rs/ureq/latest/ureq/unversioned/index.html
516516
//! [`CryptoProvider`]: https://docs.rs/rustls/latest/rustls/crypto/struct.CryptoProvider.html
517+
//! [`unversioned::multipart`]: https://docs.rs/ureq/latest/ureq/unversioned/multipart/index.html
517518
518519
#![forbid(unsafe_code)]
519520
#![warn(clippy::all)]

0 commit comments

Comments
 (0)