Skip to content
This repository was archived by the owner on Jun 8, 2021. It is now read-only.

Commit e1731d6

Browse files
committed
Source: Doc: ignore examples in test
1 parent e974752 commit e1731d6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/source.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const PRIORITY_DEFAULT_IDLE: i32 = 200;
5353
///
5454
/// # Examples
5555
///
56-
/// ```
56+
/// ```ignore
5757
/// let mut i = 0;
5858
/// idle_add(move || {
5959
/// println!("Idle: {}", i);
@@ -90,7 +90,7 @@ pub fn idle_add<F>(func: F) -> u32
9090
///
9191
/// # Examples
9292
///
93-
/// ```
93+
/// ```ignore
9494
/// timeout_add(3000, || {
9595
/// println!("This prints once every 3 seconds");
9696
/// Continue(true)
@@ -118,7 +118,7 @@ pub fn timeout_add<F>(interval: u32, func: F) -> u32
118118
///
119119
/// # Examples
120120
///
121-
/// ```
121+
/// ```ignore
122122
/// timeout_add_seconds(10, || {
123123
/// println!("This prints once every 10 seconds");
124124
/// Continue(true)

0 commit comments

Comments
 (0)