From 69e7b28097ecf0b144cc6671be4066772381cbae Mon Sep 17 00:00:00 2001 From: Maxim Philippov Date: Fri, 17 May 2024 10:32:16 +0200 Subject: [PATCH] Fix a nano-typo in 04_panics.md --- book/src/02_basic_calculator/04_panics.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/book/src/02_basic_calculator/04_panics.md b/book/src/02_basic_calculator/04_panics.md index fa27169..bbfcdf0 100644 --- a/book/src/02_basic_calculator/04_panics.md +++ b/book/src/02_basic_calculator/04_panics.md @@ -38,7 +38,7 @@ fn main() { } ``` -There are other mechanism to work with recoverable errors in Rust, which [we'll cover later](../05_ticket_v2/06_fallibility). +There are other mechanisms to work with recoverable errors in Rust, which [we'll cover later](../05_ticket_v2/06_fallibility). For the time being we'll stick with panics as a brutal but simple stopgap solution. ## References @@ -55,4 +55,4 @@ For the time being we'll stick with panics as a brutal but simple stopgap soluti circumstances. [^macro]: If it's followed by a `!`, it's a macro invocation. Think of macros as spicy functions for now. We'll -cover them in more detail later in the course. \ No newline at end of file +cover them in more detail later in the course.