From 00000130501abd017678330c7a71ef27c1a81187 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Jane=C5=BEi=C4=8D?= Date: Mon, 9 Dec 2024 20:10:30 +0100 Subject: [PATCH] feat(scaffold): change default return type to Option --- utils/scaffold/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/scaffold/src/main.rs b/utils/scaffold/src/main.rs index 4e5a705..b0e4dfc 100644 --- a/utils/scaffold/src/main.rs +++ b/utils/scaffold/src/main.rs @@ -8,11 +8,11 @@ use std::{ process, }; -const MODULE_TEMPLATE: &str = r#"pub fn part_one(input: &str) -> Option { +const MODULE_TEMPLATE: &str = r#"pub fn part_one(input: &str) -> Option { None } -pub fn part_two(input: &str) -> Option { +pub fn part_two(input: &str) -> Option { None }