Sign in
android
/
platform
/
external
/
stg
/
HEAD
/
.
/
test_cases
/
info_tests
/
variant
/
singleton.rs
blob: dd66c40ba2dc798d15f66bfcb20cb8119b899e27 [
file
] [
log
] [
blame
]
pub
enum
Singleton
{
Unit
,
}
#[
no_mangle
]
pub
fn
is_unit
(
s
:
Singleton
)
->
bool
{
match
s
{
Singleton
::
Unit
=>
true
,
}
}