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.
This commit is contained in:
katrinafyi 2025-07-27 22:17:49 +10:00 committed by GitHub
parent ea415c8db4
commit 71e77f6255
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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),