mirror of
https://github.com/mx42/aoc2016.git
synced 2026-01-14 05:39:51 +01:00
ci: fmt
This commit is contained in:
@@ -191,7 +191,7 @@ fn parse_line(input: &str) -> Floor {
|
|||||||
let mut words = input.split_whitespace();
|
let mut words = input.split_whitespace();
|
||||||
let mut items: Vec<Item> = Vec::new();
|
let mut items: Vec<Item> = Vec::new();
|
||||||
loop {
|
loop {
|
||||||
words.by_ref().find(|&w| w == "a"); // skip_while(|&w| w != "a").next();
|
words.by_ref().find(|&w| w == "a"); // skip_while(|&w| w != "a").next();
|
||||||
if let Some(matter) = words.next() {
|
if let Some(matter) = words.next() {
|
||||||
if let Some(it_type) = words.next() {
|
if let Some(it_type) = words.next() {
|
||||||
// let it_type = it_type.strip_suffix(".").unwrap_or(it_type);
|
// let it_type = it_type.strip_suffix(".").unwrap_or(it_type);
|
||||||
|
|||||||
Reference in New Issue
Block a user