fix clippy

This commit is contained in:
Evan Almloff committed 2023-10-20 09:38:10 -05:00
1 parent 1d664c616e
commit 33f0f0c172
8 files changed
+7 -9

No files matched your search

+1 -1
View File
@@ -329,7 +329,7 @@ fn apply_edits(
HydrateText { path, value, id } => channel.hydrate_text(path, value, id.0 as u32),
LoadTemplate { name, index, id } => {
if let Some(tmpl_id) = templates.get(name) {
channel.load_template(*tmpl_id as u16, index as u16, id.0 as u32)
channel.load_template(*tmpl_id, index as u16, id.0 as u32)
}
}
ReplaceWith { id, m } => channel.replace_with(id.0 as u32, m as u16),