You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: scoped.rs
    path of file: ./repos/may/examples
    
    the code of the file until where you have to start completion: #[macro_use]
extern crate may;

use crate::coroutine::yield_now;
use may::coroutine;

fn main() {
    let mut array = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
    println!(
    
fn main() {
    let mut array = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
    println!("old array: {array:?}");
    coroutine::scope(|scope| {
        for i in &mut array {
            go!(scope, move || {
                coroutine::scope(|scope| {
                    go!(scope, || {
                        println!("another scope get as {:?}", *i);
                        yield_now();
                        *i += 1;
                        println!("another scope set to {:?}", *i);
                    });
                });
                println!("get element as {:?}", *i);
                yield_now();
                *i += 1;
                println!("set element to {:?}", *i);
            });
        }
    });

    println!("new array: {array:?}");
}