Updated for latest changes to lifetimes

This commit is contained in:
Tony Aldridge
2013-12-13 18:59:56 +00:00
parent bca2f8448a
commit 95b1604e70
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -285,7 +285,7 @@ pub enum KeyCode {
out.write("
}
type Cb<'self> = 'self |buf: &[u8]| -> bool;
type Cb<'a> = 'a |buf: &[u8]| -> bool;
impl IterBytes for KeyCode{
fn iter_bytes(&self, lsb0: bool, f: Cb) -> bool {
+1 -1
View File
@@ -293,7 +293,7 @@ pub enum ScanCode {
}
type Cb<'self> = 'self |buf: &[u8]| -> bool;
type Cb<'a> = 'a |buf: &[u8]| -> bool;
impl IterBytes for ScanCode {
fn iter_bytes(&self, lsb0: bool, f: Cb) -> bool {
+1 -1
View File
@@ -245,7 +245,7 @@ pub enum KeyCode {
}
type Cb<'self> = 'self |buf: &[u8]| -> bool;
type Cb<'a> = 'a |buf: &[u8]| -> bool;
impl IterBytes for KeyCode{
fn iter_bytes(&self, lsb0: bool, f: Cb) -> bool {
+1 -1
View File
@@ -252,7 +252,7 @@ pub enum ScanCode {
}
type Cb<'self> = 'self |buf: &[u8]| -> bool;
type Cb<'a> = 'a |buf: &[u8]| -> bool;
impl IterBytes for ScanCode {
fn iter_bytes(&self, lsb0: bool, f: Cb) -> bool {