]> git.lizzy.rs Git - rust.git/commit
Update docs on Error struct. #29355
authorRyan Thomas <ryan@ryant.org>
Thu, 22 Jun 2017 20:10:36 +0000 (21:10 +0100)
committerRyan Thomas <ryan@ryant.org>
Thu, 13 Jul 2017 16:24:28 +0000 (17:24 +0100)
commitaca6cd052d51a16f09b1e9a6051a746d0ff2ce85
tree0ad84b313fca48f3e91fe6b1b377f6350c34a332
parentab5bec25530aac43dfd64384b405c909b6e405e3
Update docs on Error struct. #29355

This adds a pretty contrived example of the usage of fmt::Error. I am
very open to suggestions for a better one.

I have also highlighted the fmt::Error vs std::error::Error.

r? @steveklabnik
src/libcore/fmt/mod.rs