mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
clippy: Fix redundant field names warnings (#31793)
This commit is contained in:
parent
f55d1d288e
commit
2789e98876
97 changed files with 285 additions and 314 deletions
|
@ -116,7 +116,7 @@ impl WebGLFramebuffer {
|
|||
Self {
|
||||
webgl_object: WebGLObject::new_inherited(context),
|
||||
webgl_version: context.webgl_version(),
|
||||
id: id,
|
||||
id,
|
||||
target: Cell::new(None),
|
||||
is_deleted: Cell::new(false),
|
||||
size: Cell::new(None),
|
||||
|
@ -715,7 +715,7 @@ impl WebGLFramebuffer {
|
|||
Some(texture) => {
|
||||
*binding.borrow_mut() = Some(WebGLFramebufferAttachment::Texture {
|
||||
texture: Dom::from_ref(texture),
|
||||
level: level,
|
||||
level,
|
||||
});
|
||||
texture.attach_to_framebuffer(self);
|
||||
|
||||
|
@ -780,7 +780,7 @@ impl WebGLFramebuffer {
|
|||
|
||||
*binding.borrow_mut() = Some(WebGLFramebufferAttachment::Texture {
|
||||
texture: Dom::from_ref(texture),
|
||||
level: level,
|
||||
level,
|
||||
});
|
||||
texture.attach_to_framebuffer(self);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue