MCPcopy Create free account
hub / github.com/RustCrypto/utils / as_inner_unchecked

Method as_inner_unchecked

ctutils/src/ct_option.rs:288–290  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

286 #[inline]
287 #[must_use]
288 pub const fn as_inner_unchecked(&self) -> &T {
289 &self.value
290 }
291
292 /// Calls the provided callback with the wrapped inner value, which computes a [`Choice`],
293 /// and updates `self.is_some()`.

Callers 1

expect_refMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected