@@ -189,7 +189,7 @@ macro_rules! shorthand_property_bitflags {
189189 crate :: macros:: shorthand_property_bitflags!( $name, [ $( $all) ,* ] $( $rest) ,* ; $last_index + 1 ; $( $var = $index) * $cur = $last_index + 1 ) ;
190190 } ;
191191 ( $name: ident, [ $( $all: ident) ,* ] $cur: ident; $last_index: expr ; $( $var: ident = $index: expr) +) => {
192- paste :: paste! {
192+ pastey :: paste! {
193193 crate :: macros:: property_bitflags! {
194194 #[ derive( Default , Debug ) ]
195195 struct [ <$name Property >] : u8 {
@@ -216,7 +216,7 @@ macro_rules! shorthand_handler {
216216 $(
217217 pub $key: Option <$type>,
218218 ) *
219- flushed_properties: paste :: paste!( [ <$shorthand Property >] ) ,
219+ flushed_properties: pastey :: paste!( [ <$shorthand Property >] ) ,
220220 has_any: bool
221221 }
222222
@@ -250,7 +250,7 @@ macro_rules! shorthand_handler {
250250
251251 let mut unparsed = val. clone( ) ;
252252 context. add_unparsed_fallbacks( & mut unparsed) ;
253- paste :: paste! {
253+ pastey :: paste! {
254254 self . flushed_properties. insert( [ <$shorthand Property >] :: try_from( & unparsed. property_id) . unwrap( ) ) ;
255255 } ;
256256 dest. push( Property :: Unparsed ( unparsed) ) ;
@@ -263,7 +263,7 @@ macro_rules! shorthand_handler {
263263
264264 fn finalize( & mut self , dest: & mut DeclarationList <' i>, context: & mut PropertyHandlerContext <' i, ' _>) {
265265 self . flush( dest, context) ;
266- self . flushed_properties = paste :: paste!( [ <$shorthand Property >] :: empty( ) ) ;
266+ self . flushed_properties = pastey :: paste!( [ <$shorthand Property >] :: empty( ) ) ;
267267 }
268268 }
269269
@@ -289,7 +289,7 @@ macro_rules! shorthand_handler {
289289 } ;
290290
291291 $(
292- if $shorthand_fallback && !self . flushed_properties. intersects( paste :: paste!( [ <$shorthand Property >] :: $shorthand) ) {
292+ if $shorthand_fallback && !self . flushed_properties. intersects( pastey :: paste!( [ <$shorthand Property >] :: $shorthand) ) {
293293 let fallbacks = shorthand. get_fallbacks( context. targets) ;
294294 for fallback in fallbacks {
295295 dest. push( Property :: $shorthand( fallback) ) ;
@@ -298,15 +298,15 @@ macro_rules! shorthand_handler {
298298 ) ?
299299
300300 dest. push( Property :: $shorthand( shorthand) ) ;
301- paste :: paste! {
301+ pastey :: paste! {
302302 self . flushed_properties. insert( [ <$shorthand Property >] :: $shorthand) ;
303303 } ;
304304 } else {
305305 $(
306306 #[ allow( unused_mut) ]
307307 if let Some ( mut val) = $key {
308308 $(
309- if $fallback && !self . flushed_properties. intersects( paste :: paste!( [ <$shorthand Property >] :: $prop) ) {
309+ if $fallback && !self . flushed_properties. intersects( pastey :: paste!( [ <$shorthand Property >] :: $prop) ) {
310310 let fallbacks = val. get_fallbacks( context. targets) ;
311311 for fallback in fallbacks {
312312 dest. push( Property :: $prop( fallback) ) ;
@@ -315,7 +315,7 @@ macro_rules! shorthand_handler {
315315 ) ?
316316
317317 dest. push( Property :: $prop( val) ) ;
318- paste :: paste! {
318+ pastey :: paste! {
319319 self . flushed_properties. insert( [ <$shorthand Property >] :: $prop) ;
320320 } ;
321321 }
@@ -390,7 +390,7 @@ macro_rules! impl_shorthand {
390390 impl <' i> Shorthand <' i> for $t {
391391 #[ allow( unused_variables) ]
392392 fn from_longhands( decls: & DeclarationBlock <' i>, vendor_prefix: crate :: vendor_prefix:: VendorPrefix ) -> Option <( Self , bool ) > {
393- use paste :: paste;
393+ use pastey :: paste;
394394
395395 $(
396396 $(
0 commit comments