diff options
author | Miguel Ojeda <[email protected]> | 2024-09-04 22:43:41 +0200 |
---|---|---|
committer | Miguel Ojeda <[email protected]> | 2024-10-07 21:39:05 +0200 |
commit | 8333ff4d0799aafbe4275cddcbaf45e545e4efba (patch) | |
tree | da99ad1a23ccfa3e5a34251943e38b74b2217592 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 8577c9dca799bd74377f7c30015d8cdc53a53ca2 (diff) |
rust: rbtree: fix `SAFETY` comments that should be `# Safety` sections
The tag `SAFETY` is used for safety comments, i.e. `// SAFETY`, while a
`Safety` section is used for safety preconditions in code documentation,
i.e. `/// # Safety`.
Fix the three instances recently added in `rbtree` that Clippy would
have normally caught in a public item, so that we can enable checking
of private items in one of the following commits.
Fixes: 98c14e40e07a ("rust: rbtree: add cursor")
Reviewed-by: Trevor Gross <[email protected]>
Reviewed-by: Alice Ryhl <[email protected]>
Tested-by: Gary Guo <[email protected]>
Reviewed-by: Gary Guo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions