소스 검색

lib: fix typo of document, spec -> sepc

luojia65 2 년 전
부모
커밋
1a75784dbc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/lib.rs

+ 1 - 1
src/lib.rs

@@ -230,7 +230,7 @@
 //!             if ans.error == MY_SPECIAL_EXIT {
 //!                 break Operation::from(ans)
 //!             }
-//!             // This line would also advance `spec` with `4` to indicate the `ecall` is handled.
+//!             // This line would also advance `sepc` with `4` to indicate the `ecall` is handled.
 //!             exec.fill_sbi_return(ans);
 //!         } else {
 //!             // other trap types ...