Skip to content

Commit 79e5aea

Browse files
authored
docs: fix typo {windows => window}.performance.now (#105)
1 parent 278b3b6 commit 79e5aea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
//!
7272
//! This library can be built for WASM targets, but in this case the resolution and accuracy of
7373
//! measurements can be limited by the WASM environment. In particular, when running on the
74-
//! `wasm32-unknown-unknown` target in browsers, `quanta` will use [windows.performance.now] as a
74+
//! `wasm32-unknown-unknown` target in browsers, `quanta` will use [window.performance.now] as a
7575
//! clock. This mean the accuracy is limited to milliseconds instead of the usual nanoseconds on
7676
//! other targets. When running within a WASI environment (target `wasm32-wasi`), the accuracy of
7777
//! the clock depends on the VM implementation.
@@ -135,7 +135,7 @@
135135
//! [mach_absolute_time]: https://developer.apple.com/documentation/kernel/1462446-mach_absolute_time
136136
//! [clock_gettime]: https://linux.die.net/man/3/clock_gettime
137137
//! [prost_types_timestamp]: https://docs.rs/prost-types/0.7.0/prost_types/struct.Timestamp.html
138-
//! [windows.performance.now]: https://developer.mozilla.org/en-US/docs/Web/API/Performance/now
138+
//! [window.performance.now]: https://developer.mozilla.org/en-US/docs/Web/API/Performance/now
139139
#![deny(missing_docs)]
140140
#![deny(clippy::all)]
141141
#![allow(clippy::must_use_candidate)]

0 commit comments

Comments
 (0)