MCPcopy Create free account
hub / github.com/Amanieu/regalloc3 / DisplayIter

Class DisplayIter

src/debug_utils/display.rs:14–17  ·  view source on GitHub ↗

Helper type to display a comma-separated list of displayable values.

Source from the content-addressed store, hash-verified

12
13/// Helper type to display a comma-separated list of displayable values.
14pub(crate) struct DisplayIter<T> {
15 iter: Cell<Option<T>>,
16 separator: &'static str,
17}
18impl<T: IntoIterator> fmt::Display for DisplayIter<T>
19where
20 T::Item: fmt::Display,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected