Mention Display trait in docs

This commit is contained in:
Chris Wong 2015-01-25 15:12:00 +13:00
parent 9b1402101d
commit 17a447d898

View file

@ -145,6 +145,9 @@
//! ```
//!
//! Use `$(expr)` syntax to splice a Rust expression into the output.
//! The expression may evaluate to anything that implements
//! `std::fmt::Display`.
//!
//! You can omit the brackets if it's just a variable (`$var`), indexing
//! operation (`$var[0]`), method call (`$var.method()`), or property
//! lookup (`$var.property`).