mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-23 12:51:18 +00:00
Trying to fix drone 7
This commit is contained in:
parent
abfbe23f4b
commit
0cdc81ad93
2 changed files with 2 additions and 2 deletions
|
@ -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).
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue