MCPcopy Create free account
hub / github.com/bedroombuilds/python2rust / DoubleError

Enum DoubleError

0a_error_handling/rust/more_boilerplate.rs:8–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6
7#[derive(Debug)]
8enum DoubleError {
9 EmptyVec,
10 // We will defer to the parse error implementation for their error.
11 // Supplying extra info requires adding more data to the type.
12 Parse(ParseIntError),
13}
14
15impl fmt::Display for DoubleError {
16 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected