aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/gpuuncapturederrorevent.rs
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2024-01-22 14:13:48 +0100
committerGitHub <noreply@github.com>2024-01-22 13:13:48 +0000
commit5c1723c9833c133e1af641533293e63d8723f8d3 (patch)
treec37778936ee0ffe88379632f5627cbb18710acda /components/script/dom/gpuuncapturederrorevent.rs
parentd7de206dbd459e8c8bf121f73755d12569c6cc55 (diff)
downloadservo-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/gpuuncapturederrorevent.rs')
-rw-r--r--components/script/dom/gpuuncapturederrorevent.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/gpuuncapturederrorevent.rs b/components/script/dom/gpuuncapturederrorevent.rs
index d6d9bdbd45a..fbc210516f7 100644
--- a/components/script/dom/gpuuncapturederrorevent.rs
+++ b/components/script/dom/gpuuncapturederrorevent.rs
@@ -58,7 +58,7 @@ impl GPUUncapturedErrorEvent {
ev
}
- /// https://gpuweb.github.io/gpuweb/#dom-gpuuncapturederrorevent-gpuuncapturederrorevent
+ /// <https://gpuweb.github.io/gpuweb/#dom-gpuuncapturederrorevent-gpuuncapturederrorevent>
#[allow(non_snake_case)]
pub fn Constructor(
global: &GlobalScope,
@@ -77,12 +77,12 @@ impl GPUUncapturedErrorEvent {
}
impl GPUUncapturedErrorEventMethods for GPUUncapturedErrorEvent {
- /// https://gpuweb.github.io/gpuweb/#dom-gpuuncapturederrorevent-error
+ /// <https://gpuweb.github.io/gpuweb/#dom-gpuuncapturederrorevent-error>
fn Error(&self) -> GPUError {
clone_gpu_error(&self.gpu_error)
}
- /// https://dom.spec.whatwg.org/#dom-event-istrusted
+ /// <https://dom.spec.whatwg.org/#dom-event-istrusted>
fn IsTrusted(&self) -> bool {
self.event.IsTrusted()
}