File: core_module.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 (10 lines) | stat: -rw-r--r-- 213 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
use async_recursion::async_recursion;

mod core {
    // already defined core module shouldn't fail with message like 'could not find `pin` in `core`'
}

#[async_recursion]
pub async fn n(x: i32) -> i32 {
    x
}