We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 104c6db commit efd77e9Copy full SHA for efd77e9
gfx/webrender_bindings/src/moz2d_renderer.rs
@@ -307,7 +307,7 @@ struct CachedReader<'a> {
307
308
impl<'a> CachedReader<'a> {
309
310
- pub fn new(buf: &'a [u8]) -> CachedReader {
+ pub fn new(buf: &'a [u8]) -> Self {
311
CachedReader {
312
reader: BlobReader::new(buf),
313
cache: BTreeMap::new(),
servo/ports/geckolib/glue.rs
@@ -6373,7 +6373,7 @@ struct PrioritizedPropertyIter<'a> {
6373
}
6374
6375
impl<'a> PrioritizedPropertyIter<'a> {
6376
- fn new(properties: &'a [PropertyValuePair]) -> PrioritizedPropertyIter {
+ fn new(properties: &'a [PropertyValuePair]) -> Self {
6377
use style::values::animated::compare_property_priority;
6378
6379
0 commit comments