Skip to content

Commit b9f1c67

Browse files
authored
chore: typo framgment should be fragment (#460)
1 parent ef09326 commit b9f1c67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/specifier.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ impl<'a> Specifier<'a> {
2222
b'/' | b'.' | b'#' => 1,
2323
_ => 0,
2424
};
25-
let (path, query, fragment) = Self::parse_query_framgment(specifier, offset);
25+
let (path, query, fragment) = Self::parse_query_fragment(specifier, offset);
2626
if path.is_empty() {
2727
return Err(SpecifierError::Empty(specifier.to_string()));
2828
}
2929
Ok(Self { path, query, fragment })
3030
}
3131

32-
fn parse_query_framgment(
32+
fn parse_query_fragment(
3333
specifier: &'a str,
3434
skip: usize,
3535
) -> (Cow<'a, str>, Option<&'a str>, Option<&'a str>) {

0 commit comments

Comments
 (0)