Skip to content

Commit 3a9a4ed

Browse files
committed
Fix
1 parent 9bd4cb6 commit 3a9a4ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

juniper/src/types/scalars.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ mod impl_arcstr_scalar {
198198

199199
pub(super) fn from_input<S: ScalarValue>(
200200
v: &Scalar<S>,
201-
) -> Result<ArcStr, <&str as FromScalarValue<S>>::Error> {
201+
) -> Result<ArcStr, <&str as FromScalarValue<'_, S>>::Error> {
202202
if let Some(s) = v.downcast_type::<ArcStr>() {
203203
Ok(s.clone())
204204
} else {
@@ -221,7 +221,7 @@ mod impl_compactstring_scalar {
221221

222222
pub(super) fn from_input<S: ScalarValue>(
223223
v: &Scalar<S>,
224-
) -> Result<CompactString, <&str as FromScalarValue<S>>::Error> {
224+
) -> Result<CompactString, <&str as FromScalarValue<'_, S>>::Error> {
225225
if let Some(s) = v.downcast_type::<CompactString>() {
226226
Ok(s.clone())
227227
} else {

0 commit comments

Comments
 (0)