Skip to content

Commit 937ce21

Browse files
committed
docs: printk-formats: add %pA
Suggested-by: Petr Mladek <[email protected]> Signed-off-by: Miguel Ojeda <[email protected]>
1 parent 4cf444a commit 937ce21

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Documentation/core-api/printk-formats.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,16 @@ Examples::
625625
%p4cc Y10 little-endian (0x20303159)
626626
%p4cc NV12 big-endian (0xb231564e)
627627

628+
Rust
629+
----
630+
631+
::
632+
633+
%pA
634+
635+
Only intended to be used from Rust code to format ``core::fmt::Arguments``.
636+
Do *not* use it from C.
637+
628638
Thanks
629639
======
630640

0 commit comments

Comments
 (0)