We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bd4cb6 commit 3a9a4edCopy full SHA for 3a9a4ed
juniper/src/types/scalars.rs
@@ -198,7 +198,7 @@ mod impl_arcstr_scalar {
198
199
pub(super) fn from_input<S: ScalarValue>(
200
v: &Scalar<S>,
201
- ) -> Result<ArcStr, <&str as FromScalarValue<S>>::Error> {
+ ) -> Result<ArcStr, <&str as FromScalarValue<'_, S>>::Error> {
202
if let Some(s) = v.downcast_type::<ArcStr>() {
203
Ok(s.clone())
204
} else {
@@ -221,7 +221,7 @@ mod impl_compactstring_scalar {
221
222
223
224
- ) -> Result<CompactString, <&str as FromScalarValue<S>>::Error> {
+ ) -> Result<CompactString, <&str as FromScalarValue<'_, S>>::Error> {
225
if let Some(s) = v.downcast_type::<CompactString>() {
226
227
0 commit comments