Clear up warning from new Rust version
This commit is contained in:
parent
e025d945cf
commit
fa542bb24f
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -2217,7 +2217,7 @@ checksum = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "reminder-rs"
|
name = "reminder-rs"
|
||||||
version = "1.6.15-2"
|
version = "1.6.16"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"base64 0.21.2",
|
"base64 0.21.2",
|
||||||
"chrono",
|
"chrono",
|
||||||
|
@ -151,7 +151,7 @@ impl Embed {
|
|||||||
embed.description = substitute(&embed.description);
|
embed.description = substitute(&embed.description);
|
||||||
embed.footer = substitute(&embed.footer);
|
embed.footer = substitute(&embed.footer);
|
||||||
|
|
||||||
embed.fields.iter_mut().for_each(|mut field| {
|
embed.fields.iter_mut().for_each(|field| {
|
||||||
field.title = substitute(&field.title);
|
field.title = substitute(&field.title);
|
||||||
field.value = substitute(&field.value);
|
field.value = substitute(&field.value);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user