MCPcopy Create free account
hub / github.com/hashintel/hash / try_none

Function try_none

libs/error-stack/src/sink.rs:478–488  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

476 #[cfg(nightly)]
477 #[test]
478 fn try_none() {
479 fn sink() -> Result<(), Report<[TestError]>> {
480 let sink = ReportSink::new();
481
482 sink?;
483
484 Ok(())
485 }
486
487 sink().expect("should not have failed");
488 }
489
490 #[cfg(nightly)]
491 #[test]

Callers

nothing calls this directly

Calls 2

sinkFunction · 0.85
expectMethod · 0.45

Tested by

no test coverage detected