aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Munns <[email protected]>2025-04-01 14:12:58 +0200
committerJames Munns <[email protected]>2025-04-01 14:12:58 +0200
commit8a8e4500531342001977cdc99d6d107dd84be8e1 (patch)
tree47a7d9a43301e7af4b2cdb60e364eab89a79423e
parent84cd416bed6a80d0fab4433c26ada9b16495b4c1 (diff)
Reorder doc comments for format reasons
-rw-r--r--embassy-executor/src/raw/trace.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/embassy-executor/src/raw/trace.rs b/embassy-executor/src/raw/trace.rs
index efb74b3d2..0952a9bc0 100644
--- a/embassy-executor/src/raw/trace.rs
+++ b/embassy-executor/src/raw/trace.rs
@@ -1,6 +1,3 @@
1#![allow(unused)]
2use crate::raw::{SyncExecutor, TaskRef};
3
4//! # Tracing 1//! # Tracing
5//! 2//!
6//! The `trace` feature enables a number of callbacks that can be used to track the 3//! The `trace` feature enables a number of callbacks that can be used to track the
@@ -86,6 +83,9 @@ use crate::raw::{SyncExecutor, TaskRef};
86//! 4. The executor finishes polling the task. `_embassy_trace_task_exec_end` is called. 83//! 4. The executor finishes polling the task. `_embassy_trace_task_exec_end` is called.
87//! 5. The executor has finished polling tasks. `_embassy_trace_executor_idle` is called. 84//! 5. The executor has finished polling tasks. `_embassy_trace_executor_idle` is called.
88 85
86#![allow(unused)]
87use crate::raw::{SyncExecutor, TaskRef};
88
89#[cfg(not(feature = "rtos-trace"))] 89#[cfg(not(feature = "rtos-trace"))]
90extern "Rust" { 90extern "Rust" {
91 /// This callback is called when the executor begins polling. This will always 91 /// This callback is called when the executor begins polling. This will always