From: Deepak Sirone Date: Mon, 13 Jun 2016 10:18:58 +0000 (+0530) Subject: Fix innter -> inner typo X-Git-Url: https://git.ralfj.de/rust-101.git/commitdiff_plain/a845c41ee688b4a32c196d847a3a94349736cfd8?ds=sidebyside;hp=-c Fix innter -> inner typo --- a845c41ee688b4a32c196d847a3a94349736cfd8 diff --git a/workspace/src/part15.rs b/workspace/src/part15.rs index 6982579..148f648 100644 --- a/workspace/src/part15.rs +++ b/workspace/src/part15.rs @@ -66,7 +66,7 @@ pub fn main() { // **Exercise 15.1**: Add an operation `compare_and_inc(&self, test: usize, by: usize)` that increments the counter by // `by` *only if* the current value is `test`. // -// **Exercise 15.2**: Rather than panicking in case the lock is poisoned, we can use `into_innter` on the error to recover +// **Exercise 15.2**: Rather than panicking in case the lock is poisoned, we can use `into_inner` on the error to recover // the data inside the lock. Change the code above to do that. Try using `unwrap_or_else` for this job.