From 5621b5eab4c4b1c6865d730fe832d2e9c7641995 Mon Sep 17 00:00:00 2001 From: Bulat Musin <9249387+bmusin@users.noreply.github.com> Date: Thu, 11 Jan 2018 09:34:55 +0300 Subject: [PATCH] fix typo --- first-edition/src/error-handling.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/first-edition/src/error-handling.md b/first-edition/src/error-handling.md index 02bd67587..fa7650a48 100644 --- a/first-edition/src/error-handling.md +++ b/first-edition/src/error-handling.md @@ -473,7 +473,7 @@ it also requires us to add a [`Debug`][8] constraint on the `E` type parameter (which represents our error type). Since the vast majority of types should satisfy the `Debug` constraint, this tends to work out in practice. (`Debug` on a type simply means that there's a reasonable -way to print a human readable description of values with that type.) +way to print a human-readable description of values with that type.) OK, let's move on to an example. @@ -1026,7 +1026,7 @@ use std::io; use std::num; // We derive `Debug` because all types should probably derive `Debug`. -// This gives us a reasonable human readable description of `CliError` values. +// This gives us a reasonable human-readable description of `CliError` values. #[derive(Debug)] enum CliError { Io(io::Error), @@ -1127,7 +1127,7 @@ use std::io; use std::num; // We derive `Debug` because all types should probably derive `Debug`. -// This gives us a reasonable human readable description of `CliError` values. +// This gives us a reasonable human-readable description of `CliError` values. #[derive(Debug)] enum CliError { Io(io::Error), @@ -1367,7 +1367,7 @@ use std::num; use std::path::Path; // We derive `Debug` because all types should probably derive `Debug`. -// This gives us a reasonable human readable description of `CliError` values. +// This gives us a reasonable human-readable description of `CliError` values. #[derive(Debug)] enum CliError { Io(io::Error),