MCPcopy Index your code
hub / github.com/cloud-hypervisor/cloud-hypervisor / fmt

Method fmt

option_parser/src/lib.rs:359–370  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

357
358impl Display for IntegerList {
359 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
360 f.write_char('[')?;
361 let mut iter = self.0.iter();
362 if let Some(first) = iter.next() {
363 first.fmt(f)?;
364 for i in iter {
365 f.write_char(',')?;
366 i.fmt(f)?;
367 }
368 }
369 f.write_char(']')
370 }
371}
372
373#[derive(Error, Debug)]

Callers

nothing calls this directly

Calls 2

iterMethod · 0.80
nextMethod · 0.45

Tested by

no test coverage detected