diff options
| author | Taylor Cramer <cramertj@google.com> | 2017-12-15 12:27:20 -0800 |
|---|---|---|
| committer | Taylor Cramer <cramertj@google.com> | 2017-12-15 13:29:05 -0800 |
| commit | e502194e7e2605b461c3e24d30fdc5def4e1c166 (patch) | |
| tree | 9de146a80ac18fcc3efafc3bc6fba6387c05e09c /src/libsyntax | |
| parent | 5a0dc2d06d92d3bef7502d2095cd0d51486d4e12 (diff) | |
| download | rust-e502194e7e2605b461c3e24d30fdc5def4e1c166.tar.gz rust-e502194e7e2605b461c3e24d30fdc5def4e1c166.zip | |
Refactor argument-position impl Trait
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/print/pprust.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index e9386e5187f..2b8bd58c51a 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -1070,7 +1070,7 @@ impl<'a> State<'a> { self.print_bounds(prefix, &bounds[..])?; } ast::TyKind::ImplTrait(ref bounds) => { - self.print_bounds("impl ", &bounds[..])?; + self.print_bounds("impl", &bounds[..])?; } ast::TyKind::Array(ref ty, ref v) => { self.s.word("[")?; |
