@@ -79,13 +79,13 @@ impl<'a> ToGlibPtrMut<'a, *mut ffi::GdkAtom> for Atom {
79
79
}
80
80
}
81
81
82
- impl < ' a > ToGlibContainerFromSlice < ' a , * mut ffi:: GdkAtom > for & ' a Atom {
82
+ impl < ' a > ToGlibContainerFromSlice < ' a , * mut ffi:: GdkAtom > for Atom {
83
83
type Storage = (
84
- Vec < Stash < ' a , ffi:: GdkAtom , & ' a Atom > > ,
84
+ Vec < Stash < ' a , ffi:: GdkAtom , Atom > > ,
85
85
Option < Vec < ffi:: GdkAtom > > ,
86
86
) ;
87
87
88
- fn to_glib_none_from_slice ( t : & ' a [ & ' a Atom ] ) -> ( * mut ffi:: GdkAtom , Self :: Storage ) {
88
+ fn to_glib_none_from_slice ( t : & ' a [ Atom ] ) -> ( * mut ffi:: GdkAtom , Self :: Storage ) {
89
89
skip_assert_initialized ! ( ) ;
90
90
91
91
let v: Vec < _ > = t. iter ( ) . map ( |s| s. to_glib_none ( ) ) . collect ( ) ;
@@ -95,7 +95,7 @@ impl<'a> ToGlibContainerFromSlice<'a, *mut ffi::GdkAtom> for &'a Atom {
95
95
( v_ptr. as_ptr ( ) as * mut ffi:: GdkAtom , ( v, Some ( v_ptr) ) )
96
96
}
97
97
98
- fn to_glib_container_from_slice ( t : & ' a [ & ' a Atom ] ) -> ( * mut ffi:: GdkAtom , Self :: Storage ) {
98
+ fn to_glib_container_from_slice ( t : & ' a [ Atom ] ) -> ( * mut ffi:: GdkAtom , Self :: Storage ) {
99
99
skip_assert_initialized ! ( ) ;
100
100
101
101
let v: Vec < _ > = t. iter ( ) . map ( |s| s. to_glib_none ( ) ) . collect ( ) ;
@@ -114,20 +114,20 @@ impl<'a> ToGlibContainerFromSlice<'a, *mut ffi::GdkAtom> for &'a Atom {
114
114
( v_ptr, ( v, None ) )
115
115
}
116
116
117
- fn to_glib_full_from_slice ( _: & [ & ' a Atom ] ) -> * mut ffi:: GdkAtom {
117
+ fn to_glib_full_from_slice ( _: & [ Atom ] ) -> * mut ffi:: GdkAtom {
118
118
skip_assert_initialized ! ( ) ;
119
119
120
120
unimplemented ! ( )
121
121
}
122
122
}
123
123
124
- impl < ' a > ToGlibContainerFromSlice < ' a , * const ffi:: GdkAtom > for & ' a Atom {
124
+ impl < ' a > ToGlibContainerFromSlice < ' a , * const ffi:: GdkAtom > for Atom {
125
125
type Storage = (
126
- Vec < Stash < ' a , ffi:: GdkAtom , & ' a Atom > > ,
126
+ Vec < Stash < ' a , ffi:: GdkAtom , Atom > > ,
127
127
Option < Vec < ffi:: GdkAtom > > ,
128
128
) ;
129
129
130
- fn to_glib_none_from_slice ( t : & ' a [ & ' a Atom ] ) -> ( * const ffi:: GdkAtom , Self :: Storage ) {
130
+ fn to_glib_none_from_slice ( t : & ' a [ Atom ] ) -> ( * const ffi:: GdkAtom , Self :: Storage ) {
131
131
skip_assert_initialized ! ( ) ;
132
132
133
133
let v: Vec < _ > = t. iter ( ) . map ( |s| s. to_glib_none ( ) ) . collect ( ) ;
@@ -137,7 +137,7 @@ impl<'a> ToGlibContainerFromSlice<'a, *const ffi::GdkAtom> for &'a Atom {
137
137
( v_ptr. as_ptr ( ) as * const ffi:: GdkAtom , ( v, Some ( v_ptr) ) )
138
138
}
139
139
140
- fn to_glib_container_from_slice ( t : & ' a [ & ' a Atom ] ) -> ( * const ffi:: GdkAtom , Self :: Storage ) {
140
+ fn to_glib_container_from_slice ( t : & ' a [ Atom ] ) -> ( * const ffi:: GdkAtom , Self :: Storage ) {
141
141
skip_assert_initialized ! ( ) ;
142
142
143
143
let v: Vec < _ > = t. iter ( ) . map ( |s| s. to_glib_none ( ) ) . collect ( ) ;
@@ -156,7 +156,7 @@ impl<'a> ToGlibContainerFromSlice<'a, *const ffi::GdkAtom> for &'a Atom {
156
156
( v_ptr, ( v, None ) )
157
157
}
158
158
159
- fn to_glib_full_from_slice ( _: & [ & ' a Atom ] ) -> * const ffi:: GdkAtom {
159
+ fn to_glib_full_from_slice ( _: & [ Atom ] ) -> * const ffi:: GdkAtom {
160
160
skip_assert_initialized ! ( ) ;
161
161
162
162
unimplemented ! ( )
0 commit comments