Skip to content

Commit ccb085f

Browse files
Update src/content/content_location.rs
Co-authored-by: Jeremiah Senkpiel <[email protected]>
1 parent fdcb1a6 commit ccb085f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/content_location.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ impl ContentLocation {
5252
// If we successfully parsed the header then there's always at least one
5353
// entry. We want the last entry.
5454
let value = headers.iter().last().unwrap();
55-
let base = base_url.try_into().unwrap();
55+
let base = base_url.try_into()?;
5656
let url = base.join(value.as_str().trim()).status(400)?;
5757
Ok(Some(Self { url }))
5858
}

0 commit comments

Comments
 (0)