File tree 2 files changed +2
-2
lines changed
gfx/webrender_bindings/src
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -307,7 +307,7 @@ struct CachedReader<'a> {
307
307
308
308
impl < ' a > CachedReader < ' a > {
309
309
/// Creates a new CachedReader.
310
- pub fn new ( buf : & ' a [ u8 ] ) -> CachedReader {
310
+ pub fn new ( buf : & ' a [ u8 ] ) -> Self {
311
311
CachedReader {
312
312
reader : BlobReader :: new ( buf) ,
313
313
cache : BTreeMap :: new ( ) ,
Original file line number Diff line number Diff line change @@ -6373,7 +6373,7 @@ struct PrioritizedPropertyIter<'a> {
6373
6373
}
6374
6374
6375
6375
impl < ' a > PrioritizedPropertyIter < ' a > {
6376
- fn new ( properties : & ' a [ PropertyValuePair ] ) -> PrioritizedPropertyIter {
6376
+ fn new ( properties : & ' a [ PropertyValuePair ] ) -> Self {
6377
6377
use style:: values:: animated:: compare_property_priority;
6378
6378
6379
6379
// If we fail to convert a nsCSSPropertyID into a PropertyId we
You can’t perform that action at this time.
0 commit comments