From d4643c00d278d378cb0639bc548b3d668c3848ec Mon Sep 17 00:00:00 2001 From: Tobias Berger Date: Sun, 4 Dec 2022 10:39:41 +0100 Subject: [PATCH] Slightly clean up --- .vscode/c_cpp_properties.json | 22 ---------------------- rust/src/day02/main.rs | 4 ++-- 2 files changed, 2 insertions(+), 24 deletions(-) delete mode 100644 .vscode/c_cpp_properties.json diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json deleted file mode 100644 index 8b25c25..0000000 --- a/.vscode/c_cpp_properties.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "configurations": [ - { - "name": "Win32", - "includePath": [ - "${workspaceFolder}/**" - ], - "defines": [ - "_DEBUG", - "UNICODE", - "_UNICODE" - ], - "windowsSdkVersion": "10.0.20348.0", - "compilerPath": "C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe", - "cStandard": "c17", - "cppStandard": "c++17", - "intelliSenseMode": "windows-msvc-x64", - "compileCommands": "${workspaceFolder}/c/build/compile_commands.json" - } - ], - "version": 4 -} \ No newline at end of file diff --git a/rust/src/day02/main.rs b/rust/src/day02/main.rs index 2c22bb8..b9e907b 100644 --- a/rust/src/day02/main.rs +++ b/rust/src/day02/main.rs @@ -159,6 +159,6 @@ fn parse_input_part_2() -> Vec<(Shape, GameResult)> { } pub fn main() { - part_1(parse_input_part_1().as_slice()); - part_2(parse_input_part_2().as_slice()); + part_1(&parse_input_part_1()); + part_2(&parse_input_part_2()); }