Skip to content
This repository was archived by the owner on Mar 4, 2024. It is now read-only.

Commit 87c34fa

Browse files
Merge pull request #810 from epilys/gdk-key-impl-copy
Implement Copy for gdk::Key
2 parents 08b27ac + f675f7d commit 87c34fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gdk/src/keys.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use glib::GString;
55
use libc::c_uint;
66
use std::mem;
77

8-
#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
8+
#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
99
pub struct Key(u32);
1010

1111
impl ::std::ops::Deref for Key {

0 commit comments

Comments
 (0)