Skip to content

9.2.5 (Closures) As output parameters, needs update due to the deprecation of FnBox #1244

@7sDream

Description

@7sDream

https://doc.rust-lang.org/rust-by-example/fn/closures/output_parameters.html

The link of FnBox in this page is broken.

After 1.35(changelog), we can directly use Box<dyn Fn*> as return type and FnBox has been removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions