From 8781d95a4ef41184238a6fd692ae93dd500f4abd Mon Sep 17 00:00:00 2001 From: visil Date: Mon, 16 Oct 2023 11:02:43 +0300 Subject: =?UTF-8?q?=D0=9A=D0=BE=D1=81=D0=BC=D0=B5=D1=82=D0=B8=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 38c9288..2623171 100644 --- a/src/main.rs +++ b/src/main.rs @@ -21,6 +21,7 @@ struct Mailbox { } // Структура простого ящика +#[allow(dead_code)] // чтобы компилятор не ругался на неиспользуемое поле struct Box { volume: u8, objects: Contents, -- cgit v1.2.3