Mazdak Farrokhzad
Mazdak Farrokhzad
> * When should the reference include _why_ something is done in a particular way? We should be careful not to go too deep into this. In the case of...
> The note at the end of [this section](https://github.com/rust-lang-nursery/reference/blob/6a19ed33a80894adc2c1b49fdbb8a619c6f8be39/src/items/modules.md#module-source-filenames). Drop it; we don't actually make this recommendation and I think such "how should I write my code"-tips is not interesting...
> Any chance of this making it into 2018 edition? Unfortunately, not. It would take too much time to do all the steps required to ship this on stable by...
More minimal reproducer: ```rust use spacetimedb::{reducer, DbContext, Table}; #[derive(Debug, Clone)] #[spacetimedb::table(name = identifier, public)] pub struct Identifier { #[unique] pub value: String, } #[reducer] pub fn test(ctx: &spacetimedb::ReducerContext) { let...
Smaller reproducer: - define a table with `struct T { #[unique] x: u32 }` - insert `T { x: 42 }` twice => bug 1, will panic but shouldn't. -...