Files
linux/rust/kernel
Miguel Ojeda 1486554392 rust: str: simplify KUnit tests format! macro
Simplify the `format!` macro used in the tests by using
`CString::try_from_fmt` and directly `unwrap()`ing.

This will allow us to change both `unwrap()`s here in order to showcase
the `?` operator support now that the tests are KUnit ones.

Reviewed-by: David Gow <davidgow@google.com>
Acked-by: Danilo Krummrich <dakr@kernel.org>
[ Split from the next commit as suggested by Tamir. - Miguel ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2025-05-27 20:09:59 +02:00
..
2025-05-26 18:03:09 +02:00
2025-03-10 15:12:17 +01:00
2025-05-26 18:03:09 +02:00
2025-03-16 21:59:19 +01:00
2025-02-22 15:44:19 +01:00
2025-05-27 20:09:59 +02:00
2024-12-20 17:21:04 +01:00
2024-10-08 15:44:36 +02:00
2024-12-20 17:19:26 +01:00
2025-04-29 15:31:07 +02:00
2024-11-04 16:21:44 -05:00