|
|
Subscribe / Log in / New account

Ternary expression?

Ternary expression?

Posted Oct 1, 2024 11:48 UTC (Tue) by kaesaecracker (subscriber, #126447)
In reply to: Ternary expression? by Paf
Parent article: Coccinelle for Rust

Rust does not have ternary expressions. You can use an if expression instead, which is equivalent.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds