Rust (programming language): Difference between revisions

Content deleted Content added
JavaCream (talk | contribs)
Standard library: Both Ok and Err are used by default.
Tags: Mobile edit Mobile web edit
Line 355:
|[[Exception handling|Error handling]] using a [[result type]]
|{{plainlist|
* {{Rust|Result::Ok(3)}}
* {{Rust|Result::Err("something went wrong")}}
}}
|-