Feature request: "into"
未关闭
- 主要语言
- Rust
- 星标
- 225
- 派生
- 70
- 平均合并
- 16 小时 54 分钟
- 30 天内合并 PR
- 8
描述
I'd like to be able to initialize a `U256` like this:
```rust
foo(10.into());
```
Where `foo` is a function that takes a `U256` as an input.
This operation is not currently supported. I am getting the following error:
```text
help: the following other types implement trait `From`:
as From>
as From>
label: the trait `From<{integer}>` is not implemented for `Uint<256, 4>`
```
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。