From 7c9765891b86d5d6168556e8f5363641f57e130d Mon Sep 17 00:00:00 2001 From: apogeeoak <59737221+apogeeoak@users.noreply.github.com> Date: Sun, 15 Aug 2021 14:39:53 -0400 Subject: [PATCH] Add no_run to documentation examples. --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index b85c0b2..0b78a9a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -76,7 +76,7 @@ type Result = io::Result<()>; /// /// # Examples /// -/// ``` +/// ```no_run /// let path = "http://rust-lang.org"; /// /// match open::that(path) { @@ -97,7 +97,7 @@ pub fn that + Sized>(path: T) -> Result { /// /// # Examples /// -/// ``` +/// ```no_run /// let path = "http://rust-lang.org"; /// let app = "firefox"; ///