about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorKevin Ballard <kevin@sb.org>2013-10-01 14:03:41 -0700
committerKevin Ballard <kevin@sb.org>2013-10-15 20:10:11 -0700
commit6741241f4046aea4014b1a23618593fb481c8606 (patch)
tree0e7c17333e81edc80df9e56ea32984ad7d79ee22 /src/libsyntax/parse/parser.rs
parent3a2735cb11efc997aa02646c13c008a883de6792 (diff)
downloadrust-6741241f4046aea4014b1a23618593fb481c8606.tar.gz
rust-6741241f4046aea4014b1a23618593fb481c8606.zip
path2: Add format helpers .display() and .filename_display()
These methods return an object that can be formatted using {} to print
display strings.

Path itself does not implement fmt::Default to avoid accidental usage of
display strings in incorrect places (e.g. process arguments).
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
0 files changed, 0 insertions, 0 deletions