Idiom # 337 Convert string to integer, explicit base
Code
Runnable Example
The result type of parse_i32 is outcome. An error is returned when parsing fails.
In this case .val will cause a precondition failure.
The result type of parse_i32 is outcome. An error is returned when parsing fails.
In this case .val will cause a precondition failure.