Răsfoiți Sursa

lib: fix typo of document, spec -> sepc

luojia65 2 ani în urmă
părinte
comite
1a75784dbc
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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 ...