Skip to content

Commit 8150f23

Browse files
thomas-zahnermre
andcommitted
Apply suggestions from code review
Co-authored-by: Matthias Endler <matthias@endler.dev>
1 parent 439a473 commit 8150f23

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lychee-lib/src/types/request.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ use crate::{BasicAuthCredentials, ErrorKind, Uri, types::uri::raw::RawUriSpan};
44

55
use super::ResolvedInputSource;
66

7-
/// A URI which was extracted by lychee.
8-
/// Can be checked as a next step.
7+
/// A checkable element extracted from a document by lychee,
8+
/// containing a URI and its location within the source.
99
#[derive(Debug, PartialEq, Eq, Hash, Clone)]
1010
pub struct Request {
1111
/// The extracted Uniform Resource Identifier
@@ -20,7 +20,7 @@ pub struct Request {
2020
/// In case of plaintext input the field is `None`.
2121
pub element: Option<String>,
2222

23-
/// What attribute (e.g. `href`) URI is contained in
23+
/// What attribute (e.g. `href`) the URI is contained in
2424
pub attribute: Option<String>,
2525

2626
/// Where the URI is located

0 commit comments

Comments
 (0)