chore: clippy enforce unwrap_used, expect_used and panic

release is not far
This commit is contained in:
Alexander Medvedev committed 2026-08-08 13:44:51 +02:00
1 parent 0eb7b936db
commit 49360e53ef
291 files changed
+3200 -1783

No files matched your search

+1 -1
View File
@@ -537,7 +537,7 @@ impl BlockBehaviour for SignBlock {
.item
.registry_key
.strip_suffix("_dye")
.unwrap();
.unwrap_or(args.item_stack.item.registry_key);
dye.apply_to_sign(&args, &block_entity, text, color_name)
} else {
BlockActionResult::PassToDefaultBlockAction