Clear up warning from new Rust version

This commit is contained in:
jude committed 2023-06-20 15:33:25 +01:00
1 parent e025d945cf
commit fa542bb24f
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -151,7 +151,7 @@ impl Embed {
embed.description = substitute(&embed.description);
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.value = substitute(&field.value);
});