Skip to content

GRDigital/clown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clown

Crate Info API Docs

An approximation of "capture-by-clone" lambdas in Rust.
Requires nightly and #![feature(proc_macro_hygiene, stmt_expr_attributes)]

Turns this:

#[clown] || do_call(honk!(foo.bar))

into this:

{
    let __honk_0 = (foo.bar).clone();
    move || do_call(__honk_0)
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages