File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -686,7 +686,7 @@ macro_rules! font_face_descriptors {
686686 ///
687687 /// However both are required for the rule to represent an actual font face.
688688 #[ cfg( feature = "servo" ) ]
689- pub fn font_face( & self ) -> Option <FontFace > {
689+ pub fn font_face( & self ) -> Option <FontFace < ' _> > {
690690 if $( self . $m_ident. is_some( ) ) &&* {
691691 Some ( FontFace ( self ) )
692692 } else {
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ pub struct PropertyAnimation {
5252
5353impl PropertyAnimation {
5454 /// Returns the given property longhand id.
55- pub fn property_id ( & self ) -> PropertyDeclarationId {
55+ pub fn property_id ( & self ) -> PropertyDeclarationId < ' _ > {
5656 debug_assert_eq ! ( self . from. id( ) , self . to. id( ) ) ;
5757 self . from . id ( )
5858 }
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ pub fn parse_part_mapping(input: &str) -> Option<Mapping<'_>> {
8484}
8585
8686/// <https://drafts.csswg.org/css-shadow-parts/#parsing-mapping-list>
87- fn parse_mapping_list ( input : & str ) -> impl Iterator < Item = Mapping > {
87+ fn parse_mapping_list ( input : & str ) -> impl Iterator < Item = Mapping < ' _ > > {
8888 // Step 1. Let input be the string being parsed.
8989 // Step 2. Split the string input on commas. Let unparsed mappings be the resulting list of strings.
9090 let unparsed_mappings = input. split ( ',' ) ;
You can’t perform that action at this time.
0 commit comments