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

Method fmt

0c_operator_overloading/rust/operator_overloading.rs:9–11  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter)

Source from the content-addressed store, hash-verified

7
8impl fmt::Display for MyString {
9 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
10 write!(f, "{}", self.0)
11 }
12}
13
14impl ops::Add<String> for MyString {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected