Sign in
rust
/
rust-lang
/
rust
/
refs/heads/try
/
.
/
tests
/
ui
/
lint
/
unused
/
auxiliary
/
must-use-foreign.rs
blob: e2751eb60d69bf445e9805492d2c0da3ee624881 [
file
] [
log
] [
blame
]
//@ edition:2021
use
std
::
future
::
Future
;
pub
struct
Manager
;
impl
Manager
{
#[
must_use
]
pub
async
fn
new
()
->
(
Self
,
impl
Future
<
Output
=
()>)
{
(
Manager
,
async
{})
}
}