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()); }