Skip to content

Commit e2a5b46

Browse files
committed
Improve cryptic panic
1 parent cbc71cb commit e2a5b46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphql_client_codegen/src/resolution.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ impl<'a> SelectionRef<'a> {
201201
.name()
202202
.to_camel_case()
203203
),
204-
_ => unreachable!(),
204+
other => unreachable!("{:?} in to_path_segment", other),
205205
}
206206
}
207207
}

0 commit comments

Comments
 (0)