Explorar o código

lib: fix typo of document, spec -> sepc

luojia65 %!s(int64=2) %!d(string=hai) anos
pai
achega
1a75784dbc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 ...