Skip to main content

quietly

Function quietly 

Source
pub fn quietly<R>(f: impl FnOnce() -> R) -> R
Expand description

Runs f as a repeat of work C does once. The port sizes labels and nodes again after C’s common_init_node/common_init_edge/do_graph_label (for ports, splines and rendering), and the diagnostics of those calls (HTML label warnings and errors, bad label format, size too small for label) must not print a second time.

Port warnings still print: C resolves ports again in some of these places and warns again.