From b73f56a2b4c1e0d045e85f2d6aeb5b5320778b19 Mon Sep 17 00:00:00 2001 From: James Chacon Date: Sun, 26 Sep 2021 15:02:26 -0700 Subject: [PATCH] Remove ConvertSaveLoad from WantsToDropItem Serde doesn't come into scope for 2 more chapters so this just introduces a compile error right now. --- book/src/chapter_9.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/src/chapter_9.md b/book/src/chapter_9.md index a0d4ea2b..5011a48f 100644 --- a/book/src/chapter_9.md +++ b/book/src/chapter_9.md @@ -623,7 +623,7 @@ You probably want to be able to drop items from your inventory, especially later So we create a component (in `components.rs`), and register it in `main.rs`: ```rust -#[derive(Component, Debug, ConvertSaveload, Clone)] +#[derive(Component, Debug, Clone)] pub struct WantsToDropItem { pub item : Entity }