]> git.lizzy.rs Git - rust.git/commit
Add docs for Debug* structs. #29355
authorRyan Thomas <ryan@ryant.org>
Thu, 22 Jun 2017 19:49:22 +0000 (20:49 +0100)
committerRyan Thomas <ryan@ryant.org>
Sun, 2 Jul 2017 16:42:02 +0000 (17:42 +0100)
commitd1316b468f969db58ccfc907f8b404d999b6e391
tree07fac38b48d58f282701b8f6caf9a70949c9df26
parentab5bec25530aac43dfd64384b405c909b6e405e3
Add docs for Debug* structs. #29355

This adds docs for the Debug* structs as well as examples from the
Formatter::debug_* methods, so that a user knows how to construct them.

I added these examples as the builders module is not public and hence
the debug_*_new() functions are not available to a user.

r? @steveklabnik

Review comments.

Mainly adding in the links for all of the structs and functions.

Remove rust tag on code blocks.
src/libcore/fmt/builders.rs