diff --git a/docs/Rust/section4/error-handling.md b/docs/Rust/section4/error-handling.md index 507f263d6..83c17cc17 100644 --- a/docs/Rust/section4/error-handling.md +++ b/docs/Rust/section4/error-handling.md @@ -12,6 +12,8 @@ necessary. Rust includes two commonly used _enums_ that help ensure data is vali Both types ensure invalid data and errors are handled adequately and do not cause the program to panic. + + ## Using Option Option is an enum that contains two variants - `None` and `Some`: