Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
run-make
/
doctests-merge
/
doctest.rs
blob: 66a5d88db67f44050071de897647da432f2f3f8b [
file
] [
log
] [
blame
] [
edit
]
#![
crate_name
=
"foo"
]
#![
crate_type
=
"lib"
]
//! ```
//! foo::init();
//! ```
/// ```
/// foo::init();
/// ```
pub
fn
init
()
{
static
mut
IS_INIT
:
bool
=
false
;
unsafe
{
assert
!(!
IS_INIT
);
IS_INIT
=
true
;
}
}