aboutsummaryrefslogtreecommitdiff
path: root/rust/kernel/task.rs
diff options
context:
space:
mode:
authorValentin Obst <[email protected]>2024-01-31 21:23:28 +0100
committerMiguel Ojeda <[email protected]>2024-02-18 21:22:27 +0100
commit4c62348d5b845c9acb82378faf5aefdcb06c38be (patch)
treebec6a4d331383a8b767a760f3eb786151d214f26 /rust/kernel/task.rs
parent8cfce47d7598bed0481c8d79437dd572705bb51e (diff)
rust: str: move SAFETY comment in front of unsafe block
SAFETY comments should immediately precede the unsafe block they justify. Move assignment to `bar` past comment as it is safe. Signed-off-by: Valentin Obst <[email protected]> Reviewed-by: Trevor Gross <[email protected]> Reviewed-by: Martin Rodriguez Reboredo <[email protected]> Reviewed-by: Alice Ryhl <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'rust/kernel/task.rs')
0 files changed, 0 insertions, 0 deletions