mirror of
https://github.com/nushell/nushell.git
synced 2025-05-01 16:44:27 +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…
Reference in New Issue
Block a user