Add doc about `deserialize_as` supporting `TryInto`
@@ -402,9 +402,12 @@ pub fn derive_query_id(input: TokenStream) -> TokenStream {
/// To provide custom deserialization behavior for a field, you can use
/// `#[diesel(deserialize_as = "SomeType")]`. If this attribute is present, Diesel
/// will deserialize the corresponding field into `SomeType`, rather than the
-/// actual field type on your struct and then call `.into` to convert it to the
-/// actual field type. This can be used to add custom behavior for a
+/// actual field type on your struct and then call
+/// [`.try_into`](https://doc.rust-lang.org/stable/std/convert/trait.TryInto.html#tymethod.try_into)
+/// to convert it to the actual field type. This can be used to add custom behavior for a
/// single field, or use types that are otherwise unsupported by Diesel.
+/// (Note: all types that have `Into<T>` automatically implement `TryInto<T>`,
+/// for cases where your conversion is not faillible.)
///
/// # Attributes
///
@@ -412,8 +415,9 @@ pub fn derive_query_id(input: TokenStream) -> TokenStream {
///
/// * `#[diesel(deserialize_as = "Type")]`, instead of deserializing directly
/// into the field type, the implementation will deserialize into `Type`.
-/// Then `Type` is converted via `.into()` into the field type. By default
-/// this derive will deserialize directly into the field type
+/// Then `Type` is converted via
+/// [`.try_into`](https://doc.rust-lang.org/stable/std/convert/trait.TryInto.html#tymethod.try_into)
+/// into the field type. By default this derive will deserialize directly into the field type
///
///
/// # Examples
