From: Jihchi Lee Date: Sun, 29 Nov 2020 11:46:44 +0000 (+0800) Subject: Update part15.rs: a trivial typo X-Git-Url: https://git.ralfj.de/rust-101.git/commitdiff_plain/8592458fd3494ebce80727341663c7b0036e3ede Update part15.rs: a trivial typo --- 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.