Peter Hall

Results 15 issues of Peter Hall

A problem with multipart messages in the current implementation is that senders need to allocate all of the message parts to a `VecDeque` before sending. Likewise, receivers must allocate message...

The error is "Error #3131: Abort due to constraint violation", which originates from a SQL error: "Primary key must be unique". Using an int instead of uint fixes the problem....

It would be cool to be able to write Rust code for a WASM target and then execute it immediately within the web browser. A simple terminal could be made...

enhancement
help wanted

Sometimes there is not enough information available for adapters to correctly deduce a useful size hint. However, a developer might have more information and this new iterator method allows them...

enhancement
waiting-on-author

I'm running Parity-bridge, based on the current version of [the README](https://github.com/poanetwork/bridge-ui/blob/48d6ba05bc4266cdcbbc9b9dfa45bfde171c4c57/README.md), using: ./parity-bridge/target/release/bridge --config config.toml --database db.toml And my `db.toml` file is like this: ``` home_contract_address = "0x74A71bFb6C4903d79EbDd77C556D2d43A9346BdD" foreign_contract_address =...

# Proposal ## Problem statement The `HashMap` and `BTreeMap` entry APIs make it possible to operate on an item that is either already in a map _or_ on a newly...

T-libs-api
api-change-proposal

This might not go anywhere, but here seemed like the right place to open the conversation. I think there is a need for a type that captures the possibility of...

Array initialiizer macros. ### Usage / test cases: * `array![0,1,2,3]` => `[0,1,2,3]` * `array![..(0..=3)]` => compile error - size must be given when using spread operator * `array_from![0,1,2,3]` => `[0.into(),...

enhancement

The implementation of hash_set can be used for reference. A lot of the heavy lifting is in `SeqInput` which can be reused.

enhancement

Currently `..` is supported in maps for keys, but not values. It would be nice to be able to do this: ``` let map = hash_map! { ..(0..5): ..(10..) }...

enhancement