mirror of
https://git.proxmox.com/git/proxmox
synced 2026-01-06 01:43:30 +00:00
client: docs: remove redundant link
Fixes the cargo doc warnings:
warning: redundant explicit link target
--> proxmox-http/src/client/mod.rs:4:19
|
4 | //! in [`Client`](crate::client::Client).
| -------- ^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
| |
| because label contains path that resolves to same destination
|
= note: when a link's destination is not specified,
the label is used to resolve intra-doc links
= note: `#[warn(rustdoc::redundant_explicit_links)]` on by default
help: remove explicit link target
|
4 | //! in [`Client`].
| ~~~~~~~~~~
warning: redundant explicit link target
--> proxmox-http/src/client/mod.rs:7:22
|
7 | //! [`sync::Client`](crate::client::sync::Client).
| -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
| |
| because label contains path that resolves to same destination
|
= note: when a link's destination is not specified,
the label is used to resolve intra-doc links
help: remove explicit link target
|
7 | //! [`sync::Client`].
| ~~~~~~~~~~~~~~~~
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
Reviewed-by: Lukas Wagner <l.wagner@proxmox.com>
This commit is contained in:
parent
fe7f37e9b3
commit
0c889ff2da
@ -1,10 +1,10 @@
|
||||
//! Simple TLS capable HTTP client implementations.
|
||||
//!
|
||||
//! Feature `client` contains a lightweight wrapper around `hyper` with support for TLS connections
|
||||
//! in [`Client`](crate::client::Client).
|
||||
//! in [`Client`].
|
||||
//!
|
||||
//! Feature `client-sync` contains a lightweight wrapper around `ureq` in
|
||||
//! [`sync::Client`](crate::client::sync::Client).
|
||||
//! [`sync::Client`].
|
||||
//!
|
||||
//! Both clients implement [`HttpClient`](crate::HttpClient) if the feature `client-trait` is enabled.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user