Mercurial > hg
diff rust/hg-core/src/checkexec.rs @ 50415:331a3cbe1c9e
rustdoc: fixed warnings about links
This is the minimal fix making those that actually were supposed
to be links to work (including in private items).
author | Georges Racinet <georges.racinet@octobus.net> |
---|---|
date | Mon, 03 Apr 2023 15:32:39 +0200 |
parents | 07792fd1837f |
children | e2c8b30ab4e7 |
line wrap: on
line diff
--- a/rust/hg-core/src/checkexec.rs Thu Mar 30 12:21:38 2023 +0200 +++ b/rust/hg-core/src/checkexec.rs Mon Apr 03 15:32:39 2023 +0200 @@ -112,7 +112,7 @@ Ok(false) } -/// This function is a rust rewrite of [checkexec] function from [posix.py] +/// This function is a rust rewrite of `checkexec` function from `posix.py` /// Returns true if the filesystem supports execute permissions. pub fn check_exec(path: impl AsRef<Path>) -> bool { check_exec_impl(path).unwrap_or(false)