Skip to main content

try_init

Function try_init 

Source
pub fn try_init()
Expand description

Same as init but discards the “already-set” error.

Useful in test harnesses where setup may run multiple times.