We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e1cc19 commit 91fb343Copy full SHA for 91fb343
1 file changed
sqlx-pg-uint-macros/src/lib.rs
@@ -88,23 +88,6 @@ pub fn uint_wrapper_derive(input: TokenStream) -> TokenStream {
88
}
89
90
91
- impl From<<#name as UIntType>::Uint> for #name {
92
- fn from(value: <#name as UIntType>::Uint) -> Self {
93
- Self {
94
- inner: BigDecimal::from(value),
95
- }
96
97
98
-
99
- // TODO: This trait bound must be tightened as far as possible. This blanket implementation
100
- // conflicts with other blanket implementations.
101
102
- impl From<#name> for <#name as UIntType>::Uint {
103
- fn from(value: #name) -> Self {
104
- value.to_uint()
105
106
107
108
impl std::str::FromStr for #name {
109
type Err = Error;
110
0 commit comments