stdlib: Add Option and Result types

This commit is contained in:
2025-05-05 04:55:17 -04:00
parent 09fdb14d79
commit 6108d66b0a
3 changed files with 4 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
//! The optional type, representing the presence or absence of a thing.
use super::preamble::*;
pub enum Option<T> {
Some(T),