fn choose_str(n: i32) -> & 'static str {
    match n {
        0 => "hello",
        1 => "goodbye",
        _ => "uwu",

    }

}
// ' -> used to lifetime that return will be a static and never change when program exist
// by default compiler knows, but if it cannot  infiere it, you need to specify lifetime
' -> used to lifetime that return will be a static and never change when program exist
by default compiler knows, but if it cannot  infiere it, you need to specify lifetime
' - > used to lifetime that return will be a static and never change when program exist by default compiler knows but if it cannot infiere it you need to specify lifetime
fn choose_str(n: i32) -> & 'static str {
    match n {
        0 => "hello",
        1 => "goodbye",
        _ => "uwu",
    }
}
fn choose_str ( n : i32 ) -> & ' static str { match n { 0 => " " , 1 => " " , _ => " " , } }
' -> used to lifetime that return will be a static and never change when program exist
by default compiler knows, but if it cannot  infiere it, you need to specify lifetime
' - > used to lifetime that return will be a static and never change when program exist by default compiler knows but if it cannot infiere it you need to specify lifetime
n
i32
n
i32