diff --git a/src/sys/termios.rs b/src/sys/termios.rs index 8651a84da6..0afb78ab62 100644 --- a/src/sys/termios.rs +++ b/src/sys/termios.rs @@ -401,7 +401,7 @@ libc_enum! { } } -// TODO: Make this usable directly as a slice index. +#[repr(usize)] libc_enum! { /// Indices into the `termios.c_cc` array for special characters. #[repr(usize)]