Apply clippy fixes

This commit is contained in:
Graham Esau 2023-02-26 19:59:17 +00:00
parent 39bae201eb
commit 824993ca76
6 changed files with 26 additions and 28 deletions

View file

@ -17,7 +17,7 @@ fn eight() -> i32 {
8
}
fn null() -> () {}
fn null() {}
#[test]
fn examples() -> TestResult {

View file

@ -4,7 +4,7 @@ use std::collections::HashMap;
use util::*;
// In real code, this would typically be a Regex, potentially created in a `lazy_static!`.
static STARTS_WITH_HELLO: &'static str = r"^[Hh]ello\b";
static STARTS_WITH_HELLO: &str = r"^[Hh]ello\b";
const MIN: u32 = 1;
const MAX: u32 = 1000;