3
3
4
4
pub trait MyTrait { fn dummy ( & self ) { } }
5
5
6
- // @has foo/struct.Alpha.html '//pre' "pub struct Alpha<A>(_) where A: MyTrait"
6
+ // @has foo/struct.Alpha.html '//pre' "pub struct Alpha<A>(_)where A: MyTrait"
7
7
pub struct Alpha < A > ( A ) where A : MyTrait ;
8
- // @has foo/trait.Bravo.html '//pre' "pub trait Bravo<B> where B: MyTrait"
8
+ // @has foo/trait.Bravo.html '//pre' "pub trait Bravo<B>where B: MyTrait"
9
9
pub trait Bravo < B > where B : MyTrait { fn get ( & self , B : B ) ; }
10
- // @has foo/fn.charlie.html '//pre' "pub fn charlie<C>() where C: MyTrait"
10
+ // @has foo/fn.charlie.html '//pre' "pub fn charlie<C>()where C: MyTrait"
11
11
pub fn charlie < C > ( ) where C : MyTrait { }
12
12
13
13
pub struct Delta < D > ( D ) ;
14
14
15
15
// @has foo/struct.Delta.html '//*[@class="impl has-srclink"]//h3[@class="code-header in-band"]' \
16
- // "impl<D> Delta<D> where D: MyTrait"
16
+ // "impl<D> Delta<D>where D: MyTrait"
17
17
impl < D > Delta < D > where D : MyTrait {
18
18
pub fn delta ( ) { }
19
19
}
@@ -33,19 +33,19 @@ pub trait TraitWhere {
33
33
}
34
34
35
35
// @has foo/struct.Echo.html '//*[@class="impl has-srclink"]//h3[@class="code-header in-band"]' \
36
- // "impl<E> MyTrait for Echo<E> where E: MyTrait"
36
+ // "impl<E> MyTrait for Echo<E>where E: MyTrait"
37
37
// @has foo/trait.MyTrait.html '//*[@id="implementors-list"]//h3[@class="code-header in-band"]' \
38
- // "impl<E> MyTrait for Echo<E> where E: MyTrait"
39
- impl < E > MyTrait for Echo < E > where E : MyTrait { }
38
+ // "impl<E> MyTrait for Echo<E>where E: MyTrait"
39
+ impl < E > MyTrait for Echo < E > where E : MyTrait { }
40
40
41
41
pub enum Foxtrot < F > { Foxtrot1 ( F ) }
42
42
43
43
// @has foo/enum.Foxtrot.html '//*[@class="impl has-srclink"]//h3[@class="code-header in-band"]' \
44
- // "impl<F> MyTrait for Foxtrot<F> where F: MyTrait"
44
+ // "impl<F> MyTrait for Foxtrot<F>where F: MyTrait"
45
45
// @has foo/trait.MyTrait.html '//*[@id="implementors-list"]//h3[@class="code-header in-band"]' \
46
- // "impl<F> MyTrait for Foxtrot<F> where F: MyTrait"
47
- impl < F > MyTrait for Foxtrot < F > where F : MyTrait { }
46
+ // "impl<F> MyTrait for Foxtrot<F>where F: MyTrait"
47
+ impl < F > MyTrait for Foxtrot < F > where F : MyTrait { }
48
48
49
49
// @has foo/type.Golf.html '//pre[@class="rust typedef"]' \
50
- // "type Golf<T> where T: Clone, = (T, T)"
50
+ // "type Golf<T>where T: Clone, = (T, T)"
51
51
pub type Golf < T > where T : Clone = ( T , T ) ;
0 commit comments