Skip to content

Commit 9ee5ac7

Browse files
committed
Fix typos
1 parent bb2cc0f commit 9ee5ac7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

juniper/CHANGELOG.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ All user visible changes to `juniper` crate will be documented in this file. Thi
7676
- Made to require `TryScalarValueTo` conversions for `bool`, `f64`, `i32`, `String` and `&str` types (could be derived with `#[value(<conversion>)]` attributes of `#[derive(ScalarValue)]` macro).
7777
- Made to require `TryInto<String>` conversion (could be derived with `derive_more::TryInto`).
7878
- Made `is_type()` method required and to accept `Any` type.
79-
- Renamed `as_bool()` method to as `try_to_bool()` and made it defined by default as `TryScalarValueTo<bool>` alias.
80-
- Renamed `as_float()` method to as `try_to_float()` and made it defined by default as `TryScalarValueTo<f64>` alias.
81-
- Renamed `as_int()` method to as `try_to_int()` and made it defined by default as `TryScalarValueTo<i32>` alias.
82-
- Renamed `as_string()` method to as `try_to_string()` and made it defined by default as `TryScalarValueTo<String>` alias.
83-
- Renamed `as_str()` method to as `try_as_str()` and made it defined by default as `TryScalarValueTo<&str>` alias.
84-
- Renamed `into_string()` method to as `try_into_string()` and made it defined by default as `TryInto<String>` alias.
79+
- Renamed `as_bool()` method as `try_to_bool()` and made it defined by default as `TryScalarValueTo<bool>` alias.
80+
- Renamed `as_float()` method as `try_to_float()` and made it defined by default as `TryScalarValueTo<f64>` alias.
81+
- Renamed `as_int()` method as `try_to_int()` and made it defined by default as `TryScalarValueTo<i32>` alias.
82+
- Renamed `as_string()` method as `try_to_string()` and made it defined by default as `TryScalarValueTo<String>` alias.
83+
- Renamed `as_str()` method as `try_as_str()` and made it defined by default as `TryScalarValueTo<&str>` alias.
84+
- Renamed `into_string()` method as `try_into_string()` and made it defined by default as `TryInto<String>` alias.
8585
- `#[derive(ScalarValue)]` macro: ([#1327])
8686
- Renamed `#[value(as_bool)]` attribute as `#[value(to_bool)]`.
8787
- Renamed `#[value(as_float)]` attribute as `#[value(to_float)]`.

0 commit comments

Comments
 (0)