referrerpolicy=no-referrer-when-downgrade
pub fn assignment_ratio_to_staked_normalized<A: IdentifierT, P: PerThing128, FS>(
    ratio: Vec<Assignment<A, P>>,
    stake_of: FS,
) -> Result<Vec<StakedAssignment<A>>, Error>
where for<'r> FS: Fn(&'r A) -> VoteWeight,
Expand description

Same as assignment_ratio_to_staked and try and do normalization.