2020: fix clippy tests warnings

This commit is contained in:
Antoine Martin 2020-12-17 00:43:05 +01:00
parent b93db94573
commit f1c9f5b228
6 changed files with 11 additions and 11 deletions

View file

@ -161,8 +161,8 @@ impl FromStr for BagRule {
mod tests {
use super::*;
static PROVIDED1: &'static str = include_str!("../input/day07_provided1.txt");
static PROVIDED2: &'static str = include_str!("../input/day07_provided2.txt");
const PROVIDED1: &str = include_str!("../input/day07_provided1.txt");
const PROVIDED2: &str = include_str!("../input/day07_provided2.txt");
#[test]
fn part1_provided_parse() {