diff options
author | Martin Robinson <mrobinson@igalia.com> | 2024-01-22 14:13:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-22 13:13:48 +0000 |
commit | 5c1723c9833c133e1af641533293e63d8723f8d3 (patch) | |
tree | c37778936ee0ffe88379632f5627cbb18710acda /components/script/dom/gpuadapter.rs | |
parent | d7de206dbd459e8c8bf121f73755d12569c6cc55 (diff) | |
download | servo-5c1723c9833c133e1af641533293e63d8723f8d3.tar.gz servo-5c1723c9833c133e1af641533293e63d8723f8d3.zip |
rustdoc: Fix many rustdoc errors (#31147)
This fixes many rustdoc errors that occur due to raw URLs in rustdoc
comments as well as unescaped Rust code that should be in backticks.
Diffstat (limited to 'components/script/dom/gpuadapter.rs')
-rw-r--r-- | components/script/dom/gpuadapter.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/components/script/dom/gpuadapter.rs b/components/script/dom/gpuadapter.rs index 03170efb8e2..39aa2cbb9c4 100644 --- a/components/script/dom/gpuadapter.rs +++ b/components/script/dom/gpuadapter.rs @@ -86,7 +86,7 @@ impl GPUAdapter { } impl GPUAdapterMethods for GPUAdapter { - /// https://gpuweb.github.io/gpuweb/#dom-gpuadapter-requestdevice + /// <https://gpuweb.github.io/gpuweb/#dom-gpuadapter-requestdevice> fn RequestDevice(&self, descriptor: &GPUDeviceDescriptor, comp: InRealm) -> Rc<Promise> { // Step 2 let promise = Promise::new_in_current_realm(comp); @@ -205,13 +205,13 @@ impl GPUAdapterMethods for GPUAdapter { promise } - /// https://gpuweb.github.io/gpuweb/#dom-gpuadapter-isfallbackadapter + /// <https://gpuweb.github.io/gpuweb/#dom-gpuadapter-isfallbackadapter> fn IsFallbackAdapter(&self) -> bool { //TODO false } - /// https://gpuweb.github.io/gpuweb/#dom-gpuadapter-requestadapterinfo + /// <https://gpuweb.github.io/gpuweb/#dom-gpuadapter-requestadapterinfo> fn RequestAdapterInfo(&self, unmask_hints: Vec<DOMString>, comp: InRealm) -> Rc<Promise> { // XXX: Adapter info should be generated here ... // Step 1 @@ -225,12 +225,12 @@ impl GPUAdapterMethods for GPUAdapter { promise } - /// https://gpuweb.github.io/gpuweb/#dom-gpuadapter-features + /// <https://gpuweb.github.io/gpuweb/#dom-gpuadapter-features> fn Features(&self) -> DomRoot<GPUSupportedFeatures> { DomRoot::from_ref(&self.features) } - /// https://gpuweb.github.io/gpuweb/#dom-gpuadapter-limits + /// <https://gpuweb.github.io/gpuweb/#dom-gpuadapter-limits> fn Limits(&self) -> DomRoot<GPUSupportedLimits> { DomRoot::from_ref(&self.limits) } |