mirror of
https://github.com/Hopiu/lychee.git
synced 2026-03-16 20:50:25 +00:00
Improve docs for fragment checker
This commit is contained in:
parent
af7226ef2e
commit
7014765988
1 changed files with 3 additions and 3 deletions
|
|
@ -37,10 +37,10 @@ impl FragmentChecker {
|
|||
}
|
||||
}
|
||||
|
||||
/// Checks the given path contains the given fragment.
|
||||
/// Checks if the given path contains the given fragment.
|
||||
///
|
||||
/// Returns false, if there is a fragment in the link and the path is to a markdown file which
|
||||
/// doesn't contain the given fragment.
|
||||
/// Returns false, if there is a fragment in the link and the path is to a
|
||||
/// Markdown file, which doesn't contain the given fragment.
|
||||
///
|
||||
/// In all other cases, returns true.
|
||||
pub(crate) async fn check(&self, path: &Path, url: &Url) -> Result<bool> {
|
||||
|
|
|
|||
Loading…
Reference in a new issue