From 8592458fd3494ebce80727341663c7b0036e3ede Mon Sep 17 00:00:00 2001 From: Jihchi Lee Date: Sun, 29 Nov 2020 19:46:44 +0800 Subject: [PATCH 1/1] Update part15.rs: a trivial typo --- src/part15.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/part15.rs b/src/part15.rs index e646d34..e22d507 100644 --- a/src/part15.rs +++ b/src/part15.rs @@ -28,7 +28,7 @@ use std::time::Duration; //@ Rather than giving every field a name, a struct can also be defined by just giving a sequence //@ of types (similar to how a variant of an `enum` is defined). This is called a *tuple struct*. //@ It is often used when constructing a *newtype*, as we do here: `ConcurrentCounter` is -//@ essentially just a new name for `Arc>`. However, is is a locally declared types, +//@ essentially just a new name for `Arc>`. However, it is a locally declared types, //@ so we can give it an inherent implementation and implement traits for it. Since the field is //@ private, nobody outside this module can even know the type we are wrapping. -- 2.30.2