Skip to content

try try #48

@asukaminato0721

Description

@asukaminato0721

NextStates(
self.0
.lock()
.unwrap()
.next_states(
current_memory_state.map(|x| x.0),
desired_retention,
days_elapsed,
)
.unwrap(),
)

use try block to rewrite them as

try {
   x?
   y?
}.unwrap()

Can use nightly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions