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

Method fmt

atomic-core/src/change/atom.rs:267–276  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

265
266impl<H: fmt::Debug> fmt::Display for Insertion<H> {
267 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
268 write!(
269 f,
270 "Insertion[{}..{}] ({} up, {} down)",
271 self.start.get(),
272 self.end.get(),
273 self.predecessors.len(),
274 self.successors.len()
275 )
276 }
277}
278
279// Extension trait for Position to add to_option method

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected