You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2020. It is now read-only.
Hi! Thanks for this cool crate. I just started testing things out, and seems to work as advertised so far, except for this:
I have a type (MapMessage) with a method get_string(&self, &str) -> Result<String>, which I call in a #[async] method. The following works:
let a = msg.get_string("abc")?;Ok(ResultType{
a = a,})
but
Ok(ResultType{
a = msg.get_string("abc")?,})
Says that msg only lives to the last line, and not on line 2.
If you want more context, it is this method which I am trying to rewrite. For now I can use the temporary let bindings, but it'd be nicer to have the getter in the constructor.