diff options
author | 2025-03-25 08:33:52 -0500 | |
---|---|---|
committer | 2025-05-12 00:20:25 +0200 | |
commit | edc5e6e019c99b529b3d1f2801d5cce9924ae79b (patch) | |
tree | 092a16f180f21fd6389ef6ec8f64db19262bc199 /rust/pin-init/internal/src | |
parent | rust: convert raw URLs to Markdown autolinks in comments (diff) | |
download | linux-rng-edc5e6e019c99b529b3d1f2801d5cce9924ae79b.tar.xz linux-rng-edc5e6e019c99b529b3d1f2801d5cce9924ae79b.zip |
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 'rust/pin-init/internal/src')
0 files changed, 0 insertions, 0 deletions