|
|
|
|
|
by masklinn
2921 days ago
|
|
GP is talking about the default value for "unconstrained" literals, yours is constrained by the second expression: assuming just the stdlib, * Add<u32> is implemented for u32 and &u32 * thus x/2: (u32 | &u32) * there's no Div<Output=&u32> so x/2: u32 * Div<Output=u32> only is only "Div<u32> for u32" * thus x: u32 |
|