File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1818//!
1919//! # Examples
2020//!
21- //! ```
21+ //! ```no_run
2222//! use webbrowser;
2323//!
2424//! if webbrowser::open("http://github.com").is_ok() {
@@ -112,14 +112,14 @@ impl FromStr for Browser {
112112/// there was an error in running the command, or if the browser was not found.
113113///
114114/// Equivalent to:
115- /// ```
115+ /// ```no_run
116116/// # use webbrowser::{Browser, open_browser};
117117/// # let url = "http://example.com";
118118/// open_browser(Browser::Default, url);
119119/// ```
120120///
121121/// # Examples
122- /// ```
122+ /// ```no_run
123123/// use webbrowser;
124124///
125125/// if webbrowser::open("http://github.com").is_ok() {
@@ -134,7 +134,7 @@ pub fn open(url: &str) -> Result<Output> {
134134/// the same as for [open](fn.open.html).
135135///
136136/// # Examples
137- /// ```
137+ /// ```no_run
138138/// use webbrowser::{open_browser, Browser};
139139///
140140/// if open_browser(Browser::Firefox, "http://github.com").is_ok() {
You can’t perform that action at this time.
0 commit comments