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
let iso_obj:Value = serde_json::from_str(&iso_data).unwrap();
Hi.
As I see, there are a lot of unwrap() methods all around the code. For example above. These calls will panic in case of Err results of unwrapped operations. If this behaviour isn't intended I suggest to use something like unwrap_or(), ok_or() or something else of option API.
The text was updated successfully, but these errors were encountered:
lakgves/src/main.rs
Line 57 in cdb1e38
Hi.
As I see, there are a lot of
unwrap()
methods all around the code. For example above. These calls will panic in case ofErr
results of unwrapped operations. If this behaviour isn't intended I suggest to use something likeunwrap_or()
,ok_or()
or something else of option API.The text was updated successfully, but these errors were encountered: