소스 검색

lib: small document fixes

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

+ 3 - 3
src/lib.rs

@@ -151,9 +151,9 @@
 //! }
 //! ```
 //!
-//! When the virtual machine hart trapped into hypervisor, decide whether this trap is an SBI
-//! environment call. If that is true, pass in parameters by `env.handle_ecall` function.
-//! RustSBI will handle with SBI standard constants, call corresponding module and provide
+//! When the virtual machine hart trapped into hypervisor, its code should decide whether
+//! this trap is an SBI environment call. If that is true, pass in parameters by `env.handle_ecall`
+//! function. RustSBI will handle with SBI standard constants, call corresponding module and provide
 //! parameters according to the extension and function IDs.
 //!
 //! Crate `rustsbi` adapts to standard RISC-V SBI calls.