File: core_module.expanded.rs

package info (click to toggle)
rust-async-recursion 1.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 332 kB
  • sloc: makefile: 2
file content (9 lines) | stat: -rw-r--r-- 206 bytes parent folder | download
1
2
3
4
5
6
7
8
9
use async_recursion::async_recursion;
#[must_use]
pub fn n(
    x: i32,
) -> ::core::pin::Pin<
    Box<dyn ::core::future::Future<Output = i32> + ::core::marker::Send>,
> {
    Box::pin(async move { x })
}