unwrapping presents

This commit is contained in:
2026-02-23 15:12:16 +00:00
parent 26eccecc7c
commit 8b3dc3c327
2 changed files with 2 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
pub fn next(n: Option<i32>) -> Result<(), std::io::Error> {
let n = n.unwrap_or(1);
Ok(())
}

View File

@@ -1,3 +1,4 @@
pub fn prev(n: Option<i32>) -> Result<(), std::io::Error> {
let n = n.unwrap_or(1);
Ok(())
}