diff options
| author | Matthew Jasper <mjjasper1@gmail.com> | 2018-11-14 22:24:22 +0000 |
|---|---|---|
| committer | Matthew Jasper <mjjasper1@gmail.com> | 2019-01-03 20:49:01 +0000 |
| commit | 7ba17aa72f97a8ceba7d5b196e11cef9e6bc37cb (patch) | |
| tree | 80838d97a5324bcfd6a47bb928297d59a522b2e0 | |
| parent | c0bbc3927e28c22edefe6a1353b5ecc95ea9a104 (diff) | |
| download | rust-7ba17aa72f97a8ceba7d5b196e11cef9e6bc37cb.tar.gz rust-7ba17aa72f97a8ceba7d5b196e11cef9e6bc37cb.zip | |
Display `impl Sized` correctly
It used to display as just `impl`
| -rw-r--r-- | src/librustc/util/ppaux.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustc/util/ppaux.rs b/src/librustc/util/ppaux.rs index 79405b12400..34fea495aa6 100644 --- a/src/librustc/util/ppaux.rs +++ b/src/librustc/util/ppaux.rs @@ -1325,6 +1325,8 @@ define_print! { } if !is_sized { write!(f, "{}?Sized", if first { " " } else { "+" })?; + } else if first { + write!(f, " Sized")?; } Ok(()) }) |
