Skip to content

Commit 488bb7b

Browse files
jeckersballisonkarlitskaya
authored andcommitted
Use automatic links in docstrings
Otherwise `cargo doc` will complain with `warning: this URL is not a hyperlink` Signed-off-by: John Eckersberg <[email protected]>
1 parent c4c1f4e commit 488bb7b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/fsverity/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ pub enum CompareVerityError {
7474
/// It's possible to choose the hash algorithm (via the generic parameter) but the blocksize is
7575
/// currently hardcoded to 4096. Salt is not supported.
7676
///
77-
/// See https://www.kernel.org/doc/html/latest/filesystems/fsverity.html#file-digest-computation
77+
/// See <https://www.kernel.org/doc/html/latest/filesystems/fsverity.html#file-digest-computation>
7878
///
7979
/// # Arguments:
8080
///

src/uki.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ fn get_value(map: &HashMap<&str, &str>, keys: &[&str]) -> Option<String> {
152152
/// to "ID" and/or "VERSION" if they are not present).
153153
///
154154
/// For more information, see:
155-
/// - https://uapi-group.org/specifications/specs/boot_loader_specification/
156-
/// - https://www.freedesktop.org/software/systemd/man/latest/os-release.html
155+
/// - <https://uapi-group.org/specifications/specs/boot_loader_specification/>
156+
/// - <https://www.freedesktop.org/software/systemd/man/latest/os-release.html>
157157
///
158158
/// # Arguments
159159
///

0 commit comments

Comments
 (0)