Skip to content

Commit

Permalink
fix: doc spelling mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzgydi committed Jan 14, 2022
1 parent af63499 commit 644e360
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
//! let auto = AutoLaunch::new(app_name, app_path, false);
//!
//! // enable the auto launch
//! assets!(auto.enable().is_ok());
//! assets!(auto.is_enabled().unwrap());
//! assert!(auto.enable().is_ok());
//! assert!(auto.is_enabled().unwrap());
//!
//! // disable the auto launch
//! assets!(auto.disable().is_ok());
//! assets!(!auto.is_enabled().unwrap());
//! assert!(auto.disable().is_ok());
//! assert!(!auto.is_enabled().unwrap());
//! }
//! ```
//!
Expand All @@ -48,12 +48,12 @@
//! let auto = AutoLaunch::new(app_name, app_path, false, false);
//!
//! // enable the auto launch
//! assets!(auto.enable().is_ok());
//! assets!(auto.is_enabled().unwrap());
//! assert!(auto.enable().is_ok());
//! assert!(auto.is_enabled().unwrap());
//!
//! // disable the auto launch
//! assets!(auto.disable().is_ok());
//! assets!(!auto.is_enabled().unwrap());
//! assert!(auto.disable().is_ok());
//! assert!(!auto.is_enabled().unwrap());
//! }
//! ```
//!
Expand All @@ -71,12 +71,12 @@
//! let auto = AutoLaunch::new(app_name, app_path);
//!
//! // enable the auto launch
//! assets!(auto.enable().is_ok());
//! assets!(auto.is_enabled().unwrap());
//! assert!(auto.enable().is_ok());
//! assert!(auto.is_enabled().unwrap());
//!
//! // disable the auto launch
//! assets!(auto.disable().is_ok());
//! assets!(!auto.is_enabled().unwrap());
//! assert!(auto.disable().is_ok());
//! assert!(!auto.is_enabled().unwrap());
//! }
//! ```
//!
Expand Down

0 comments on commit 644e360

Please sign in to comment.