mirror of
https://github.com/nushell/nushell.git
synced 2025-07-12 04:15:57 +02:00
unwrap -> expect
This commit is contained in:
@ -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")),
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user