Răsfoiți Sursa

Fix documentation

Vadim Kaushan 6 ani în urmă
părinte
comite
d2eff45f59
1 a modificat fișierele cu 2 adăugiri și 3 ștergeri
  1. 2 3
      riscv-rt/macros/src/lib.rs

+ 2 - 3
riscv-rt/macros/src/lib.rs

@@ -29,9 +29,8 @@ use proc_macro::TokenStream;
 /// private modules between the item and the root of the crate); if the item is in the root of the
 /// crate you'll be fine. This reachability restriction doesn't apply to Rust 1.31 and newer releases.
 ///
-/// The specified function will be called by the reset handler *after* RAM has been initialized. In
-/// the case of the `thumbv7em-none-eabihf` target the FPU will also be enabled before the function
-/// is called.
+/// The specified function will be called by the reset handler *after* RAM has been initialized.
+/// If present, the FPU will also be enabled before the function is called.
 ///
 /// The type of the specified function must be `[unsafe] fn() -> !` (never ending function)
 ///