diff --git a/CHANGELOG.md b/CHANGELOG.md index eb56b4d..6447239 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,8 @@ ### Fixed - The `fatal` exception raised when a Rust function bound to Ruby panics can no longer be caught with `rescue Exception`. +- Fixed type bounds for `TryConvertOwned` for `(T, ...)` so that `T` must be + `TryConvertOwned`. ### Security diff --git a/src/try_convert.rs b/src/try_convert.rs index 45493fb..81b385d 100644 --- a/src/try_convert.rs +++ b/src/try_convert.rs @@ -240,7 +240,7 @@ macro_rules! impl_try_convert { } unsafe impl<#(T~N,)*> TryConvertOwned for (#(T~N,)*) where - #(T~N: TryConvert,)* + #(T~N: TryConvertOwned,)* { } });