mirror of
https://github.com/openai/codex.git
synced 2026-04-24 22:54:54 +00:00
fmt
This commit is contained in:
@@ -114,7 +114,7 @@ fn parse_pattern_token<'v>(value: Value<'v>) -> Result<PatternToken> {
|
||||
.map(str::to_string)
|
||||
})
|
||||
.collect::<Result<_>>()?;
|
||||
|
||||
|
||||
match tokens.as_slice() {
|
||||
[] => Err(Error::InvalidPattern(
|
||||
"pattern alternatives cannot be empty".to_string(),
|
||||
|
||||
Reference in New Issue
Block a user