fn ensure_new_era() {
        match ForceEra::get() {
            Forcing::ForceAlways | Forcing::ForceNew => (),
            _ => ForceEra::put(Forcing::ForceNew),
        }
    }
/// Ensures that at the end of the current session there will be a new era.
Ensures that at the end of the current session there will be a new era.
Ensures that at the end of the current session there will be a new era .
fn ensure_new_era() {
        match ForceEra::get() {
            Forcing::ForceAlways | Forcing::ForceNew => (),
            _ => ForceEra::put(Forcing::ForceNew),
        }
    }
fn ensure_new_era ( ) { match ForceEra :: get ( ) { Forcing :: ForceAlways | Forcing :: ForceNew => ( ) , _ => ForceEra :: put ( Forcing :: ForceNew ) , } }
Ensures that at the end of the current session there will be a new era.
Ensures that at the end of the current session there will be a new era .