diff options
author | Oluwatobi Sofela <60105594+oluwatobiss@users.noreply.github.com> | 2024-03-21 00:05:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-20 23:05:29 +0000 |
commit | 2789e9887666a05695778bd9d822616985b40dbc (patch) | |
tree | 69400ac55fd84db0ec60e69d71d17f9e6d221e99 /components/script/dom/webglactiveinfo.rs | |
parent | f55d1d288e4ede7da3090e853a0a0f6aab42c113 (diff) | |
download | servo-2789e9887666a05695778bd9d822616985b40dbc.tar.gz servo-2789e9887666a05695778bd9d822616985b40dbc.zip |
clippy: Fix redundant field names warnings (#31793)
Diffstat (limited to 'components/script/dom/webglactiveinfo.rs')
-rw-r--r-- | components/script/dom/webglactiveinfo.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/webglactiveinfo.rs b/components/script/dom/webglactiveinfo.rs index b63dc713389..80815357b8e 100644 --- a/components/script/dom/webglactiveinfo.rs +++ b/components/script/dom/webglactiveinfo.rs @@ -24,9 +24,9 @@ impl WebGLActiveInfo { fn new_inherited(size: i32, ty: u32, name: DOMString) -> WebGLActiveInfo { WebGLActiveInfo { reflector_: Reflector::new(), - size: size, - ty: ty, - name: name, + size, + ty, + name, } } |