-
The first two require the third.
-
in ancient days, i was foolish and succumbed to hubris, by thinking that a cross-platform abstraction over interrupts was a cool idea and could be fun to do. so, the mycelium HAL uses a trait with a b…
hawkw updated
2 weeks ago
-
Multiple trait methods of `trait ElectionProvider` and `trait ElectionDataProvider` are self-weighting (e.g. `ElectionProvider::elect()`). Consider removing that implicit assumption and return the wei…
-
Following the introduction of the Bound API in 0.21, we have converged on three primary traits which are used to convert Rust datatypes to Python.
- one trait for from-Python conversions: `FromPyOb…
-
When trying to use bstr in my own project, I noticed that slicing a BString yields a &[u8], while slicing a BStr yields a &BStr (which is what I'd expect).
Upon closer inspection, it looks like the…
-
Although we do not do so currently, it's valid to implement `FromZeroes` and `FromBytes` for tuples of any size, so long as all of the elements of those tuples also implement those traits. Use this as…
-
### What would you like to share?
#### Work Expected From The Issue
Redesign the `cache` internal api to move it away from using an OOP based design to a more composable enum based.
The issue exp…
-
With construct runtime it compiles:
```rust
frame_support::construct_runtime!(
pub enum Runtime
{
System: frame_system,
MyPallet1: my_pallet::,
#[cfg(feature = "frame-feature-testing")]…
-
I would like to be able to implement the interface macro on traits, so that I can inject the concrete implementation into an interface struct that is generic on the trait I gave. This is useful for se…
-
Maybe the terms _Return Position Impl Trait_ and _Return Position Impl Trait In Trait_ are worth adding?
conqp updated
3 weeks ago