@@ -5,18 +5,18 @@ struct WithAttrsDiff<'__daft> {
5
5
e : :: daft:: Leaf < & ' __daft usize > ,
6
6
f : <usize as :: daft:: Diffable >:: Diff < ' __daft > ,
7
7
}
8
- impl < ' __daft > :: std :: fmt:: Debug for WithAttrsDiff < ' __daft >
8
+ impl < ' __daft > :: core :: fmt:: Debug for WithAttrsDiff < ' __daft >
9
9
where
10
- <i32 as :: daft:: Diffable >:: Diff < ' __daft > : :: std :: fmt:: Debug ,
10
+ <i32 as :: daft:: Diffable >:: Diff < ' __daft > : :: core :: fmt:: Debug ,
11
11
<BTreeMap <
12
12
Uuid ,
13
13
BTreeSet < usize > ,
14
- > as :: daft:: Diffable >:: Diff < ' __daft > : :: std :: fmt:: Debug ,
15
- :: daft:: Leaf < & ' __daft Lazy > : :: std :: fmt:: Debug ,
16
- :: daft:: Leaf < & ' __daft usize > : :: std :: fmt:: Debug ,
17
- <usize as :: daft:: Diffable >:: Diff < ' __daft > : :: std :: fmt:: Debug ,
14
+ > as :: daft:: Diffable >:: Diff < ' __daft > : :: core :: fmt:: Debug ,
15
+ :: daft:: Leaf < & ' __daft Lazy > : :: core :: fmt:: Debug ,
16
+ :: daft:: Leaf < & ' __daft usize > : :: core :: fmt:: Debug ,
17
+ <usize as :: daft:: Diffable >:: Diff < ' __daft > : :: core :: fmt:: Debug ,
18
18
{
19
- fn fmt ( & self , f : & mut :: std :: fmt:: Formatter < ' _ > ) -> :: std :: fmt:: Result {
19
+ fn fmt ( & self , f : & mut :: core :: fmt:: Formatter < ' _ > ) -> :: core :: fmt:: Result {
20
20
f. debug_struct ( stringify ! ( WithAttrsDiff ) )
21
21
. field ( stringify ! ( a) , & self . a )
22
22
. field ( stringify ! ( b) , & self . b )
@@ -26,29 +26,32 @@ where
26
26
. finish ( )
27
27
}
28
28
}
29
- impl < ' __daft > :: std :: cmp:: PartialEq for WithAttrsDiff < ' __daft >
29
+ impl < ' __daft > :: core :: cmp:: PartialEq for WithAttrsDiff < ' __daft >
30
30
where
31
- <i32 as :: daft:: Diffable >:: Diff < ' __daft > : :: std :: cmp:: PartialEq ,
31
+ <i32 as :: daft:: Diffable >:: Diff < ' __daft > : :: core :: cmp:: PartialEq ,
32
32
<BTreeMap <
33
33
Uuid ,
34
34
BTreeSet < usize > ,
35
- > as :: daft:: Diffable >:: Diff < ' __daft > : :: std :: cmp:: PartialEq ,
36
- :: daft:: Leaf < & ' __daft Lazy > : :: std :: cmp:: PartialEq ,
37
- :: daft:: Leaf < & ' __daft usize > : :: std :: cmp:: PartialEq ,
38
- <usize as :: daft:: Diffable >:: Diff < ' __daft > : :: std :: cmp:: PartialEq ,
35
+ > as :: daft:: Diffable >:: Diff < ' __daft > : :: core :: cmp:: PartialEq ,
36
+ :: daft:: Leaf < & ' __daft Lazy > : :: core :: cmp:: PartialEq ,
37
+ :: daft:: Leaf < & ' __daft usize > : :: core :: cmp:: PartialEq ,
38
+ <usize as :: daft:: Diffable >:: Diff < ' __daft > : :: core :: cmp:: PartialEq ,
39
39
{
40
40
fn eq ( & self , other : & Self ) -> bool {
41
41
self . a == other. a && self . b == other. b && self . d == other. d && self . e == other. e
42
42
&& self . f == other. f
43
43
}
44
44
}
45
- impl < ' __daft > :: std :: cmp:: Eq for WithAttrsDiff < ' __daft >
45
+ impl < ' __daft > :: core :: cmp:: Eq for WithAttrsDiff < ' __daft >
46
46
where
47
- <i32 as :: daft:: Diffable >:: Diff < ' __daft > : :: std:: cmp:: Eq ,
48
- <BTreeMap < Uuid , BTreeSet < usize > > as :: daft:: Diffable >:: Diff < ' __daft > : :: std:: cmp:: Eq ,
49
- :: daft:: Leaf < & ' __daft Lazy > : :: std:: cmp:: Eq ,
50
- :: daft:: Leaf < & ' __daft usize > : :: std:: cmp:: Eq ,
51
- <usize as :: daft:: Diffable >:: Diff < ' __daft > : :: std:: cmp:: Eq ,
47
+ <i32 as :: daft:: Diffable >:: Diff < ' __daft > : :: core:: cmp:: Eq ,
48
+ <BTreeMap <
49
+ Uuid ,
50
+ BTreeSet < usize > ,
51
+ > as :: daft:: Diffable >:: Diff < ' __daft > : :: core:: cmp:: Eq ,
52
+ :: daft:: Leaf < & ' __daft Lazy > : :: core:: cmp:: Eq ,
53
+ :: daft:: Leaf < & ' __daft usize > : :: core:: cmp:: Eq ,
54
+ <usize as :: daft:: Diffable >:: Diff < ' __daft > : :: core:: cmp:: Eq ,
52
55
{ }
53
56
impl :: daft:: Diffable for WithAttrs {
54
57
type Diff < ' __daft > = WithAttrsDiff < ' __daft > where Self : ' __daft ;
@@ -72,31 +75,31 @@ struct LazyDiff<'__daft> {
72
75
x : <usize as :: daft:: Diffable >:: Diff < ' __daft > ,
73
76
y : <usize as :: daft:: Diffable >:: Diff < ' __daft > ,
74
77
}
75
- impl < ' __daft > :: std :: fmt:: Debug for LazyDiff < ' __daft >
78
+ impl < ' __daft > :: core :: fmt:: Debug for LazyDiff < ' __daft >
76
79
where
77
- <usize as :: daft:: Diffable >:: Diff < ' __daft > : :: std :: fmt:: Debug ,
78
- <usize as :: daft:: Diffable >:: Diff < ' __daft > : :: std :: fmt:: Debug ,
80
+ <usize as :: daft:: Diffable >:: Diff < ' __daft > : :: core :: fmt:: Debug ,
81
+ <usize as :: daft:: Diffable >:: Diff < ' __daft > : :: core :: fmt:: Debug ,
79
82
{
80
- fn fmt ( & self , f : & mut :: std :: fmt:: Formatter < ' _ > ) -> :: std :: fmt:: Result {
83
+ fn fmt ( & self , f : & mut :: core :: fmt:: Formatter < ' _ > ) -> :: core :: fmt:: Result {
81
84
f. debug_struct ( stringify ! ( LazyDiff ) )
82
85
. field ( stringify ! ( x) , & self . x )
83
86
. field ( stringify ! ( y) , & self . y )
84
87
. finish ( )
85
88
}
86
89
}
87
- impl < ' __daft > :: std :: cmp:: PartialEq for LazyDiff < ' __daft >
90
+ impl < ' __daft > :: core :: cmp:: PartialEq for LazyDiff < ' __daft >
88
91
where
89
- <usize as :: daft:: Diffable >:: Diff < ' __daft > : :: std :: cmp:: PartialEq ,
90
- <usize as :: daft:: Diffable >:: Diff < ' __daft > : :: std :: cmp:: PartialEq ,
92
+ <usize as :: daft:: Diffable >:: Diff < ' __daft > : :: core :: cmp:: PartialEq ,
93
+ <usize as :: daft:: Diffable >:: Diff < ' __daft > : :: core :: cmp:: PartialEq ,
91
94
{
92
95
fn eq ( & self , other : & Self ) -> bool {
93
96
self . x == other. x && self . y == other. y
94
97
}
95
98
}
96
- impl < ' __daft > :: std :: cmp:: Eq for LazyDiff < ' __daft >
99
+ impl < ' __daft > :: core :: cmp:: Eq for LazyDiff < ' __daft >
97
100
where
98
- <usize as :: daft:: Diffable >:: Diff < ' __daft > : :: std :: cmp:: Eq ,
99
- <usize as :: daft:: Diffable >:: Diff < ' __daft > : :: std :: cmp:: Eq ,
101
+ <usize as :: daft:: Diffable >:: Diff < ' __daft > : :: core :: cmp:: Eq ,
102
+ <usize as :: daft:: Diffable >:: Diff < ' __daft > : :: core :: cmp:: Eq ,
100
103
{ }
101
104
impl :: daft:: Diffable for Lazy {
102
105
type Diff < ' __daft > = LazyDiff < ' __daft > where Self : ' __daft ;
0 commit comments