Skip to content

Commit d8382cb

Browse files
committed
Dat fmt
1 parent 23f9c6a commit d8382cb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

juniper/src/value/scalar.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ pub trait ParseScalarValue<S = DefaultScalarValue> {
7676
/// s.to_string().into()
7777
/// }
7878
/// }
79-
///
80-
/// // Macro cannot infer and generate this impl if a custom string type is used.
79+
///
80+
/// // Macro cannot infer and generate this impl if a custom string type is used.
8181
/// impl From<String> for MyScalarValue {
8282
/// fn from(value: String) -> Self {
8383
/// Self::String(value.into())

juniper_codegen/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -806,12 +806,12 @@ pub fn graphql_scalar(attr: TokenStream, body: TokenStream) -> TokenStream {
806806
/// #[value(as_bool)]
807807
/// Boolean(bool),
808808
/// }
809-
///
810-
/// // Custom implementation of `ScalarValue::from_displayable()` method for
809+
///
810+
/// // Custom implementation of `ScalarValue::from_displayable()` method for
811811
/// // possible efficient conversions into `MyScalarValue` from custom string types.
812812
/// fn from_custom_str<Str: fmt::Display + Any + ?Sized>(s: &Str) -> MyScalarValue {
813813
/// use juniper::AnyExt as _; // allows downcasting directly on types without `dyn`
814-
///
814+
///
815815
/// // Imagine this is some custom optimized string type.
816816
/// struct CustomString(String);
817817
///

0 commit comments

Comments
 (0)