Skip to content

Commit

Permalink
remove unneeded attribute from examples
Browse files Browse the repository at this point in the history
  • Loading branch information
allie-wake-up committed Jul 31, 2020
1 parent 8c7e80c commit 96e92fd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ On Linux it will first attempt to setup a Wayland clipboard provider. If that f
Using ClipboardContext to create a clipboard provider:

```rust
#[cfg_attr(any(windows, target_os = "macos"), should_panic)]
#[should_panic]
use cli_clipboard::{ClipboardContext, ClipboardProvider};

let mut ctx = ClipboardContext::new().unwrap();
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ limitations under the License.
//! Using ClipboardContext to create a clipboard provider:
//!
//! ```
//! #[cfg_attr(any(windows, target_os = "macos"), should_panic)]
//! use cli_clipboard::{ClipboardContext, ClipboardProvider};
//!
//! let mut ctx = ClipboardContext::new().unwrap();
Expand Down

0 comments on commit 96e92fd

Please sign in to comment.