fn append_or_replace_number(number: u64) {
        Numbers::mutate(|numbers| {
            if numbers.len() == NUM_VEC_LEN {
                let _ = numbers.pop_front();
            }
            numbers.push_back(number);
            debug::info!("Number vector: {:?}", numbers);
        });
    }
/// Append a new number to the tail of the list, removing an element from the head if reaching
///   the bounded length.
Append a new number to the tail of the list, removing an element from the head if reaching
the bounded length.
Append a new number to the tail of the list removing an element from the head if reaching the bounded length .
fn append_or_replace_number(number: u64) {
        Numbers::mutate(|numbers| {
            if numbers.len() == NUM_VEC_LEN {
                let _ = numbers.pop_front();
            }
            numbers.push_back(number);
            debug::info!("Number vector: {:?}", numbers);
        });
    }
fn append_or_replace_number ( number : u64 ) { Numbers :: mutate ( | numbers | { if numbers . len ( ) == NUM_VEC_LEN { let _ = numbers . pop_front ( ) ; } numbers . push_back ( number ) ; debug :: info ! ( " " numbers ) ; } ) ; }
Append a new number to the tail of the list, removing an element from the head if reaching
the bounded length.
Append a new number to the tail of the list removing an element from the head if reaching the bounded length .
number
u64
number
u64