`from`: BLOCKED) It would be nice to impl From<_> as well, but then the
- Ngôn ngữ chính
- Rust
- Star
- 225
- Fork
- 70
- Merge trung bình
- 16 giờ 54 phút
- Pull request đã merge (30 ngày)
- 8
Mô tả
*On 2022-05-28 @recmo wrote in [`1ec2e50`](https://github.com/recmo/uint/commit/1ec2e50003548890260e8c06886f44fd826bc07b) “Recognize new tags”:*
BLOCKED) It would be nice to impl From<_> as well, but then the
generic implementation `impl, U> TryFrom for T` conflicts with
our own implementation. This means we can only implement one.
In principle this can be worked around by `specialization`, but that
triggers other compiler issues at the moment.
```rust
// FEATURE: (BLOCKED) It would be nice to impl From<_> as well, but then the
// generic implementation `impl, U> TryFrom for T` conflicts with
// our own implementation. This means we can only implement one.
// In principle this can be worked around by `specialization`, but that
// triggers other compiler issues at the moment.
// impl From for Uint
// where
// [(); nlimbs(BITS)]:,
// Uint: TryFrom,
```
*From [`src/from.rs:1`](https://github.com/recmo/uint/blob/1ec2e50003548890260e8c06886f44fd826bc07b/src/from.rs#L1)*
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.