# HG changeset patch # User Georges Racinet # Date 1680530316 -7200 # Node ID e2c8b30ab4e73e8bb2f9ce42fe33f005e66bcda3 # Parent 331a3cbe1c9ee186137525204ed9fbd6e22b4137 rustdoc: wording for checkexec Notably separating the summary line for correct display at module level. diff -r 331a3cbe1c9e -r e2c8b30ab4e7 rust/hg-core/src/checkexec.rs --- a/rust/hg-core/src/checkexec.rs Mon Apr 03 15:32:39 2023 +0200 +++ b/rust/hg-core/src/checkexec.rs Mon Apr 03 15:58:36 2023 +0200 @@ -112,8 +112,10 @@ Ok(false) } -/// This function is a rust rewrite of `checkexec` function from `posix.py` -/// Returns true if the filesystem supports execute permissions. +/// This function is a Rust rewrite of the `checkexec` function from +/// `posix.py`. +/// +/// Returns `true` if the filesystem supports execute permissions. pub fn check_exec(path: impl AsRef) -> bool { check_exec_impl(path).unwrap_or(false) }