diff options
author | Andrew Ballance <andrewjballance@gmail.com> | 2025-03-25 08:33:52 -0500 |
---|---|---|
committer | Miguel Ojeda <ojeda@kernel.org> | 2025-05-12 00:20:25 +0200 |
commit | edc5e6e019c99b529b3d1f2801d5cce9924ae79b (patch) | |
tree | 092a16f180f21fd6389ef6ec8f64db19262bc199 /scripts/generate_rust_analyzer.py | |
parent | 86d990c7b699581918de2a379c6eebac7292940e (diff) |
rust: replace rustdoc references to alloc::format
Replace alloc::format[1] in the pr_* and dev_* macros' doc comments
with std::format[2] because they are identical but less likely to get
confused with the kernel's alloc crate.
And add a url link for the std::format! macro.
Link: https://doc.rust-lang.org/alloc/macro.format.html [1]
Link: https://doc.rust-lang.org/std/macro.format.html [2]
Reviewed-by: Benno Lossin <benno.lossin@proton.me>
Signed-off-by: Andrew Ballance <andrewjballance@gmail.com>
Link: https://lore.kernel.org/r/20250325133352.441425-1-andrewjballance@gmail.com
[ Fixed typo and reworded slightly. - Miguel ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions