From 71e77f62554bb5f3da739a257d852d47c9d43790 Mon Sep 17 00:00:00 2001 From: katrinafyi <39479354+katrinafyi@users.noreply.github.com> Date: Sun, 27 Jul 2025 22:17:49 +1000 Subject: [PATCH] fix comment for `ErrorKind::InvalidFragment` (#1775) the comment doesn't make sense and it is identical to InvalidFilePath which is right above it, so I reason this was a copy/paste mistake. --- lychee-lib/src/types/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lychee-lib/src/types/error.rs b/lychee-lib/src/types/error.rs index be84c20..51953e4 100644 --- a/lychee-lib/src/types/error.rs +++ b/lychee-lib/src/types/error.rs @@ -66,7 +66,7 @@ pub enum ErrorKind { #[error("Cannot find file")] InvalidFilePath(Uri), - /// The given URI cannot be converted to a file path + /// The given URI's fragment could not be found within the page content #[error("Cannot find fragment")] InvalidFragment(Uri),