mirror of
https://github.com/sergi0g/cup.git
synced 2025-11-18 09:53:43 -05:00
Clippy
This commit is contained in:
@@ -8,6 +8,6 @@ use crate::error;
|
||||
pub fn parse_link(link: &str, base: &str) -> String {
|
||||
match parse_link_header(link, &Url::from_str(base).unwrap()) {
|
||||
Ok(l) => l[0].target.to_string(),
|
||||
Err(e) => error!("Failed to parse link! {}", e)
|
||||
Err(e) => error!("Failed to parse link! {}", e),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
pub mod json;
|
||||
pub mod link;
|
||||
pub mod logging;
|
||||
pub mod misc;
|
||||
pub mod reference;
|
||||
pub mod request;
|
||||
pub mod sort_update_vec;
|
||||
pub mod link;
|
||||
Reference in New Issue
Block a user