Skip to content

Commit 24125e2

Browse files
Add type hint to LambdaRequest's Deserialize impl to avoid compiler recursive loop (#960)
1 parent 1a7c696 commit 24125e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lambda-http/src/deserializer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ impl<'de> Deserialize<'de> for LambdaRequest {
2020
where
2121
D: serde::Deserializer<'de>,
2222
{
23-
let raw_value: Box<RawValue> = Box::deserialize(deserializer)?;
23+
let raw_value: Box<RawValue> = Box::<RawValue>::deserialize(deserializer)?;
2424
let data = raw_value.get();
2525

2626
#[cfg(feature = "apigw_rest")]

0 commit comments

Comments
 (0)