MCPcopy Create free account
hub / github.com/apache/avro-rs / valid_examples

Function valid_examples

avro_test_helper/src/data.rs:632–635  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

630}
631
632pub fn valid_examples() -> &'static Vec<(&'static str, bool)> {
633 static VALID_EXAMPLES_ONCE: OnceLock<Vec<(&'static str, bool)>> = OnceLock::new();
634 VALID_EXAMPLES_ONCE.get_or_init(|| examples().iter().copied().filter(|s| s.1).collect())
635}

Callers 1

Calls 1

examplesFunction · 0.85

Tested by 1