@@ -31,12 +31,12 @@ impl Trait<{1 + 2}> for u8 {}
3131impl < const N : usize > Trait < N > for [ u8 ; N ] { }
3232
3333// @has foo/struct.Foo.html '//pre[@class="rust struct"]' \
34- // 'pub struct Foo<const N: usize> where u8: Trait<N>'
34+ // 'pub struct Foo<const N: usize>where u8: Trait<N>'
3535pub struct Foo < const N : usize > where u8 : Trait < N > ;
3636// @has foo/struct.Bar.html '//pre[@class="rust struct"]' 'pub struct Bar<T, const N: usize>(_)'
3737pub struct Bar < T , const N : usize > ( [ T ; N ] ) ;
3838
39- // @has foo/struct.Foo.html '//*[@id="impl-Foo%3CM%3E"]/h3[@class="code-header in-band"]' 'impl<const M: usize> Foo<M> where u8: Trait<M>'
39+ // @has foo/struct.Foo.html '//*[@id="impl-Foo%3CM%3E"]/h3[@class="code-header in-band"]' 'impl<const M: usize> Foo<M>where u8: Trait<M>'
4040impl < const M : usize > Foo < M > where u8 : Trait < M > {
4141 // @has - '//*[@id="associatedconstant.FOO_ASSOC"]' 'pub const FOO_ASSOC: usize'
4242 pub const FOO_ASSOC : usize = M + 13 ;
@@ -50,14 +50,14 @@ impl<const M: usize> Foo<M> where u8: Trait<M> {
5050// @has foo/struct.Bar.html '//*[@id="impl-Bar%3Cu8%2C%20M%3E"]/h3[@class="code-header in-band"]' 'impl<const M: usize> Bar<u8, M>'
5151impl < const M : usize > Bar < u8 , M > {
5252 // @has - '//*[@id="method.hey"]' \
53- // 'pub fn hey<const N: usize>(&self) -> Foo<N> where u8: Trait<N>'
53+ // 'pub fn hey<const N: usize>(&self) -> Foo<N>where u8: Trait<N>'
5454 pub fn hey < const N : usize > ( & self ) -> Foo < N > where u8 : Trait < N > {
5555 Foo
5656 }
5757}
5858
5959// @has foo/fn.test.html '//pre[@class="rust fn"]' \
60- // 'pub fn test<const N: usize>() -> impl Trait<N> where u8: Trait<N>'
60+ // 'pub fn test<const N: usize>() -> impl Trait<N>where u8: Trait<N>'
6161pub fn test < const N : usize > ( ) -> impl Trait < N > where u8 : Trait < N > {
6262 2u8
6363}
0 commit comments