mirror of
https://github.com/nushell/nushell.git
synced 2025-06-19 17:38:14 +02:00
unwrap -> expect
This commit is contained in:
parent
fe38ac3157
commit
a28720e258
@ -714,7 +714,7 @@ fn parse_timezone_from_record(
|
||||
*span,
|
||||
)),
|
||||
},
|
||||
None => Ok(FixedOffset::east_opt(0).unwrap()),
|
||||
None => Ok(FixedOffset::east_opt(0).expect("Should never fail")),
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user