diff options
Diffstat (limited to 'components/script/dom/gputexture.rs')
-rw-r--r-- | components/script/dom/gputexture.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/gputexture.rs b/components/script/dom/gputexture.rs index b10f79915d3..d3058f1e5dd 100644 --- a/components/script/dom/gputexture.rs +++ b/components/script/dom/gputexture.rs @@ -117,17 +117,17 @@ impl GPUTexture { } impl GPUTextureMethods for GPUTexture { - /// https://gpuweb.github.io/gpuweb/#dom-gpuobjectbase-label + /// <https://gpuweb.github.io/gpuweb/#dom-gpuobjectbase-label> fn Label(&self) -> USVString { self.label.borrow().clone() } - /// https://gpuweb.github.io/gpuweb/#dom-gpuobjectbase-label + /// <https://gpuweb.github.io/gpuweb/#dom-gpuobjectbase-label> fn SetLabel(&self, value: USVString) { *self.label.borrow_mut() = value; } - /// https://gpuweb.github.io/gpuweb/#dom-gputexture-createview + /// <https://gpuweb.github.io/gpuweb/#dom-gputexture-createview> fn CreateView(&self, descriptor: &GPUTextureViewDescriptor) -> DomRoot<GPUTextureView> { let scope_id = self.device.use_current_scope(); @@ -189,7 +189,7 @@ impl GPUTextureMethods for GPUTexture { ) } - /// https://gpuweb.github.io/gpuweb/#dom-gputexture-destroy + /// <https://gpuweb.github.io/gpuweb/#dom-gputexture-destroy> fn Destroy(&self) { if self.destroyed.get() { return; |