Skip to content

Commit ddf7a68

Browse files
committed
fix grammar
1 parent 9b1773c commit ddf7a68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/registers/model_specific.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,8 @@ mod x86_64 {
402402
impl fmt::Display for InvalidStarSegmentSelectors {
403403
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
404404
match self {
405-
Self::SysretOffset => write!(f, "Sysret CS and SS is not offset by 8."),
406-
Self::SyscallOffset => write!(f, "Syscall CS and SS is not offset by 8."),
405+
Self::SysretOffset => write!(f, "Sysret CS and SS are not offset by 8."),
406+
Self::SyscallOffset => write!(f, "Syscall CS and SS are not offset by 8."),
407407
Self::SysretPrivilegeLevel => {
408408
write!(f, "Sysret's segment must be a Ring3 segment.")
409409
}

0 commit comments

Comments
 (0)