libstd: Remove all non-proc
uses of do
from libstd
This commit is contained in:
parent
6801bc8f55
commit
1eca34de7d
56 changed files with 722 additions and 895 deletions
|
@ -530,9 +530,7 @@ pub struct Display<'self, P> {
|
|||
|
||||
impl<'self, P: GenericPath> fmt::Default for Display<'self, P> {
|
||||
fn fmt(d: &Display<P>, f: &mut fmt::Formatter) {
|
||||
do d.with_str |s| {
|
||||
f.pad(s)
|
||||
}
|
||||
d.with_str(|s| f.pad(s))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue