Feature request: "into"
Abierto
- Lenguaje dominante
- Rust
- Estrellas
- 225
- Forks
- 70
- Merge medio
- 16 h 54 min
- PR fusionados (30 d)
- 8
Descripción
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>`
```
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.