update comments

This commit is contained in:
bunnie 2026-01-02 12:30:10 +08:00
parent 8203c62374
commit 785daf253c

View file

@ -215,8 +215,10 @@ pub struct DynamicPinRequest {
/// In no-std/baremetal environments, resource tracking is the programmer's /// In no-std/baremetal environments, resource tracking is the programmer's
/// responsibility. /// responsibility.
/// ///
/// The `std`/`no-std` split in the API means that the resource tracking is fundamentally /// The `std`/`no-std` split in the API means that the resource tracking has to be
/// decoupled from the actual resource usage. /// decoupled from the actual resource usage. In other words, all `std` drivers
/// have to first do a step of securing the resources, and then a step of actually
/// initializing them.
#[cfg(feature = "std")] #[cfg(feature = "std")]
pub trait BioResources { pub trait BioResources {
/// Claim resources according to spec. /// Claim resources according to spec.