From 559fc130fe1f2c44f20013c03d1208ba693a8661 Mon Sep 17 00:00:00 2001 From: Jon Gjengset Date: Mon, 6 Sep 2021 12:09:36 -0700 Subject: [PATCH] Fix up rustdoc broken links in wait See also https://github.com/rust-lang/rust/issues/78591 --- src/lib.rs | 1 - src/wait.rs | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 3ee2628..cd5fa64 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -294,5 +294,4 @@ pub use client::Client; pub mod cookies; pub mod elements; -/// Allow to wait for conditions. pub mod wait; diff --git a/src/wait.rs b/src/wait.rs index a1a2df5..a1b7649 100644 --- a/src/wait.rs +++ b/src/wait.rs @@ -1,3 +1,5 @@ +//! Allow to wait for conditions. +//! //! Sometimes it is necessary to wait for a browser to achieve a certain state. For example, //! navigating to a page may be take bit of time. And the time may vary between different //! environments and test runs. Static delays can work around this issue, but also prolong the @@ -13,7 +15,7 @@ //! //! By default all wait operations will time-out after 30 seconds and will re-check every //! 250 milliseconds. You can configure this using the [`Wait::at_most`] and [`Wait::every`] -//! methods or use [`Wait::forver`] to wait indefinitely. +//! methods or use [`Wait::forever`] to wait indefinitely. //! //! Once configured, you can start waiting on some condition by using the `Wait::for_*` methods. //! For example: