diff options
author | Christian Duerr <contact@christianduerr.com> | 2019-08-16 01:13:10 +0200 |
---|---|---|
committer | Christian Duerr <contact@christianduerr.com> | 2019-08-16 01:33:49 +0200 |
commit | d9d698614ce828ba96ae101f280b37c5c80f607b (patch) | |
tree | a7e6eddcd3c63422191c2d05e933387a4deebbf4 /copypasta | |
parent | 1da986ae2b5dd7c54875d45716eb2820920feaae (diff) | |
download | alacritty-d9d698614ce828ba96ae101f280b37c5c80f607b.tar.gz alacritty-d9d698614ce828ba96ae101f280b37c5c80f607b.zip |
Fix clippy issues
Diffstat (limited to 'copypasta')
-rw-r--r-- | copypasta/src/wayland_clipboard.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/copypasta/src/wayland_clipboard.rs b/copypasta/src/wayland_clipboard.rs index b32f1290..7b9de832 100644 --- a/copypasta/src/wayland_clipboard.rs +++ b/copypasta/src/wayland_clipboard.rs @@ -34,14 +34,14 @@ pub struct Primary { pub fn create_clipboards(display: &Display) -> (Primary, Clipboard) { let context = Arc::new(Mutex::new(WaylandClipboard::new(display))); - (Primary { context: context.clone() }, Clipboard { context } ) + (Primary { context: context.clone() }, Clipboard { context }) } pub unsafe fn create_clipboards_from_external(display: *mut c_void) -> (Primary, Clipboard) { let context = Arc::new(Mutex::new(WaylandClipboard::new_from_external(display as *mut wl_display))); - (Primary { context: context.clone() }, Clipboard { context} ) + (Primary { context: context.clone() }, Clipboard { context }) } impl ClipboardProvider for Clipboard { |