MCPcopy Create free account
hub / github.com/That3Percent/second-stack / zst_ok

Function zst_ok

src/lib.rs:379–383  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

377
378 #[test]
379 fn zst_ok() {
380 let data = acquire(repeat(()).take(10));
381 debug_assert!(data.len() == 10);
382 debug_assert!(data[0] == ());
383 }
384
385 /*
386 // This doesn't quite work, since it ends up panicking again while unwinding.

Callers

nothing calls this directly

Calls 1

acquireFunction · 0.85

Tested by

no test coverage detected