Merge pull request #1106 from bmusin/patch-2

fix typo
This commit is contained in:
Carol (Nichols || Goulding) 2018-01-12 16:03:59 -05:00 committed by GitHub
commit 37221d239e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -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),