From 04e6bfa1aab433e4cfb0058132f7b57258ddcd16 Mon Sep 17 00:00:00 2001 From: Budo Zindovic Date: Tue, 25 Apr 2023 09:48:59 +0200 Subject: [PATCH] Update part01.rs --- src/part01.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/part01.rs b/src/part01.rs index a4537ac..e00cf53 100644 --- a/src/part01.rs +++ b/src/part01.rs @@ -87,7 +87,7 @@ impl NumberOrNothing { //@ methods on an `enum` (and also on `struct`, which we will learn about later) //@ is independent of the definition of the type. `self` is like `this` in other //@ languages, and its type is always implicit. So `print` is now a method that -//@ takes as first argument a `NumberOrNothing`, just like `print_number_or_nothing`. +//@ takes `NumberOrNothing` as the first argument, just like `print_number_or_nothing`. //@ //@ Try making `number_or_default` from above an inherent method as well! -- 2.30.2