You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Doc📝] Put type doc comments before derives in resource_budget/clock.rs #10940
The listed type documentation blocks currently appear immediately after their #[derive(...)] attributes. Move each complete /// block above the derive attached to that type so the documentation comes first.
This is a single-file task in the rocketmq-runtime crate. Keep the existing documentation text and attribute lists unchanged.
Suggested Fix
For each type listed above, change the order from:
#[derive(Debug)]/// Represents system monotonic clock.pubstructSystemMonotonicClock{
to:
/// Represents system monotonic clock.#[derive(Debug)]pubstructSystemMonotonicClock{
The snippet illustrates the ordering using SystemMonotonicClock; retain each actual type's own derive and entire comment block.
Acceptance criteria:
The listed type documentation block appears before its derive attribute in rocketmq-runtime/src/resource_budget/clock.rs.
No unrelated documentation, derive traits, fields, public APIs, or runtime behavior changes.
From the repository root, run cargo fmt -p rocketmq-runtime -- --check and cargo doc -p rocketmq-runtime --no-deps.
Activity
[ISSUE #10940]📝Put type doc comments before derives in resource_budge…