Closed
Bug 1766569
Opened 2 years ago
Closed 2 years ago
wgpu_bindings::server::GlobalExt trait serves no purpose
Categories
(Core :: Graphics: WebGPU, enhancement)
Core
Graphics: WebGPU
Tracking
()
RESOLVED
FIXED
101 Branch
Tracking | Status | |
---|---|---|
firefox101 | --- | fixed |
People
(Reporter: jimb, Assigned: jimb)
Details
Attachments
(1 file)
The GlobalExt
trait private to gfx/wgpu_bindings/src/server.rs
is used in a way that makes it no different from a simple impl Global { ... }
block with non-pub
functions. GlobalExt
is never used to bound type variables, construct trait objects, or anything else that requires a trait. It's just misleading, and should be removed.
Assignee | ||
Comment 1•2 years ago
|
||
Replace the GlobalExt
trait with a simple impl Global
block, which
has exactly the same effect.
Updated•2 years ago
|
Assignee: nobody → jimb
Status: NEW → ASSIGNED
Pushed by jblandy@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/191f7843f8fb Remove `wgpu_bindings::server::GlobalExt` trait. r=jgilbert
Comment 3•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox101:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•