Skip to main content

with_active

Function with_active 

Source
pub fn with_active<R>(f: impl FnOnce(Option<&CiteContext>) -> R) -> R
Expand description

Run f with a reference to the ambient context (if any).