Result is more flexible than just the question mark
Result is more flexible than just the question mark
Posted Sep 20, 2024 11:17 UTC (Fri) by farnz (subscriber, #17727)In reply to: Result is more flexible than just the question mark by mb
Parent article: Best practices for error handling in kernel Rust
The kernel has its own dbg! macro which uses pr_info to put things in the log.