It might look a bit confusing at times tho. Some examples: let data: MyStruct = fs:: read_to_string(p)?@?; let data: MyStruct = fs:: read_to_string(p)?#?; let data: MyStruct = fs:: read_to_string(p)?%?;
I feel that ship has more or less sailed already as both `?` and `:` are (set to be) meaningful, and will most likely be used in conjunction reasonably often.
-
-
Example: let data = fs::read_to_string(p)?.try_into()? : MyStruct;
-
oh is that proposed anywhere?
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.