From 036e7b7b506d590596c4641e68b0cf4127025870 Mon Sep 17 00:00:00 2001 From: Korny666 Date: Wed, 9 Mar 2022 11:53:54 +0100 Subject: [PATCH] // Silence some warnings so they don't distract from the exercise. clippy::vec_init_then_push is distracting here --- exercise/errors/src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/exercise/errors/src/main.rs b/exercise/errors/src/main.rs index eddd3ab..eea299f 100644 --- a/exercise/errors/src/main.rs +++ b/exercise/errors/src/main.rs @@ -1,6 +1,8 @@ // START IN lib.rs! use aquarium::Dolphin; +// Silence some warnings so they don't distract from the exercise. +#[allow(clippy::vec_init_then_push)] // (You already did #1 in lib.rs, right?) //