MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / fmt

Method fmt

atomic-core/src/diff/algorithm.rs:109–114  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

107
108impl fmt::Display for Algorithm {
109 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
110 match self {
111 Algorithm::Myers => write!(f, "myers"),
112 Algorithm::Patience => write!(f, "patience"),
113 }
114 }
115}
116
117impl std::str::FromStr for Algorithm {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected