Skip to content

Commit d18e46a

Browse files
nico-abramkoute
authored andcommitted
Fix doc hyperlink for set_timeout
1 parent 16db200 commit d18e46a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webapi/global.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use webapi::window::window;
22
use webapi::window_or_worker::IWindowOrWorker;
33

4-
/// An alias for [window.set_timeout](struct.Window.html#method.set_timeout).
4+
/// An alias for [window.set_timeout](trait.IWindowOrWorker.html#method.set_timeout).
55
pub fn set_timeout< F: FnOnce() + 'static >( callback: F, timeout: u32 ) {
66
window().set_timeout( callback, timeout );
77
}

0 commit comments

Comments
 (0)