瀏覽代碼

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 ...