diff options
| author | Kevin Ballard <kevin@sb.org> | 2013-10-01 14:03:41 -0700 |
|---|---|---|
| committer | Kevin Ballard <kevin@sb.org> | 2013-10-15 20:10:11 -0700 |
| commit | 6741241f4046aea4014b1a23618593fb481c8606 (patch) | |
| tree | 0e7c17333e81edc80df9e56ea32984ad7d79ee22 /src/libsyntax/parse | |
| parent | 3a2735cb11efc997aa02646c13c008a883de6792 (diff) | |
| download | rust-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')
0 files changed, 0 insertions, 0 deletions
