From 4442d003820f2a895f0ae875a8b73be7d4c67c12 Mon Sep 17 00:00:00 2001 From: trivernis Date: Sun, 9 Feb 2020 11:36:59 +0100 Subject: [PATCH] Suppress warning for unused print_vector method --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 56a62c2..239f269 100644 --- a/src/main.rs +++ b/src/main.rs @@ -105,6 +105,7 @@ fn ubig_pow(base: u128, exp: usize) -> BigUint { num } +#[allow(dead_code)] fn print_vector(vec: &[u8]) { for i in vec.iter() { print!("{}", i)