@@ -76,7 +76,7 @@ macro_rules! make_dispatch {
7676
7777 impl <D : HasDisplayHandle , W : HasWindowHandle > SurfaceInterface <D , W > for SurfaceDispatch <D , W > {
7878 type Context = ContextDispatch <D >;
79- type Buffer <' a > = BufferDispatch <' a > where Self : ' a ;
79+ type Buffer <' surface > = BufferDispatch <' surface > where Self : ' surface ;
8080
8181 fn new( window: W , display: & Self :: Context ) -> Result <Self , InitError <W >>
8282 where
@@ -138,7 +138,7 @@ macro_rules! make_dispatch {
138138 }
139139 }
140140
141- pub ( crate ) enum BufferDispatch <' a > {
141+ pub ( crate ) enum BufferDispatch <' surface > {
142142 $(
143143 $( #[ $attr] ) *
144144 $name( $buffer_inner) ,
@@ -223,7 +223,7 @@ macro_rules! make_dispatch {
223223make_dispatch ! {
224224 <D , W > =>
225225 #[ cfg( target_os = "android" ) ]
226- Android ( D , backends:: android:: AndroidImpl <D , W >, backends:: android:: BufferImpl <' a >) ,
226+ Android ( D , backends:: android:: AndroidImpl <D , W >, backends:: android:: BufferImpl <' surface >) ,
227227 #[ cfg( all(
228228 feature = "x11" ,
229229 not( any(
@@ -234,7 +234,7 @@ make_dispatch! {
234234 target_os = "windows"
235235 ) )
236236 ) ) ]
237- X11 ( std:: sync:: Arc <backends:: x11:: X11DisplayImpl <D >>, backends:: x11:: X11Impl <D , W >, backends:: x11:: BufferImpl <' a >) ,
237+ X11 ( std:: sync:: Arc <backends:: x11:: X11DisplayImpl <D >>, backends:: x11:: X11Impl <D , W >, backends:: x11:: BufferImpl <' surface >) ,
238238 #[ cfg( all(
239239 feature = "wayland" ,
240240 not( any(
@@ -245,7 +245,7 @@ make_dispatch! {
245245 target_os = "windows"
246246 ) )
247247 ) ) ]
248- Wayland ( std:: sync:: Arc <backends:: wayland:: WaylandDisplayImpl <D >>, backends:: wayland:: WaylandImpl <D , W >, backends:: wayland:: BufferImpl <' a >) ,
248+ Wayland ( std:: sync:: Arc <backends:: wayland:: WaylandDisplayImpl <D >>, backends:: wayland:: WaylandImpl <D , W >, backends:: wayland:: BufferImpl <' surface >) ,
249249 #[ cfg( all(
250250 feature = "kms" ,
251251 not( any(
@@ -256,13 +256,13 @@ make_dispatch! {
256256 target_os = "windows"
257257 ) )
258258 ) ) ]
259- Kms ( std:: sync:: Arc <backends:: kms:: KmsDisplayImpl <D >>, backends:: kms:: KmsImpl <D , W >, backends:: kms:: BufferImpl <' a >) ,
259+ Kms ( std:: sync:: Arc <backends:: kms:: KmsDisplayImpl <D >>, backends:: kms:: KmsImpl <D , W >, backends:: kms:: BufferImpl <' surface >) ,
260260 #[ cfg( target_os = "windows" ) ]
261- Win32 ( D , backends:: win32:: Win32Impl <D , W >, backends:: win32:: BufferImpl <' a >) ,
261+ Win32 ( D , backends:: win32:: Win32Impl <D , W >, backends:: win32:: BufferImpl <' surface >) ,
262262 #[ cfg( target_vendor = "apple" ) ]
263- CoreGraphics ( D , backends:: cg:: CGImpl <D , W >, backends:: cg:: BufferImpl <' a >) ,
263+ CoreGraphics ( D , backends:: cg:: CGImpl <D , W >, backends:: cg:: BufferImpl <' surface >) ,
264264 #[ cfg( target_family = "wasm" ) ]
265- Web ( backends:: web:: WebDisplayImpl <D >, backends:: web:: WebImpl <D , W >, backends:: web:: BufferImpl <' a >) ,
265+ Web ( backends:: web:: WebDisplayImpl <D >, backends:: web:: WebImpl <D , W >, backends:: web:: BufferImpl <' surface >) ,
266266 #[ cfg( target_os = "redox" ) ]
267- Orbital ( D , backends:: orbital:: OrbitalImpl <D , W >, backends:: orbital:: BufferImpl <' a >) ,
267+ Orbital ( D , backends:: orbital:: OrbitalImpl <D , W >, backends:: orbital:: BufferImpl <' surface >) ,
268268}
0 commit comments