Trying to fix drone 7

This commit is contained in:
Dessalines 2021-11-09 10:40:21 -05:00
parent abfbe23f4b
commit 0cdc81ad93
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ lazy_static! {
static ref CLIENT: Client = Client::builder() static ref CLIENT: Client = Client::builder()
.user_agent(build_user_agent(&Settings::get())) .user_agent(build_user_agent(&Settings::get()))
.build() .build()
.unwrap(); .expect("Couldn't build client");
} }
/// We store Url on the heap because it is quite large (88 bytes). /// We store Url on the heap because it is quite large (88 bytes).

View file

@ -56,7 +56,7 @@ pub fn derive_activity_handler(input: proc_macro::TokenStream) -> proc_macro::To
.collect(); .collect();
let attrs: &Vec<TokenStream> = &attrs let attrs: &Vec<TokenStream> = &attrs
.first() .first()
.unwrap() .expect("Could not decode first attribute from token stream")
.tokens .tokens
.clone() .clone()
.into_iter() .into_iter()