fn change_borrowed(spatial_reference_name: &mut String) -> i32 {
    match spatial_reference_name.as_ref() {
        "WGS84" => 4326,
        "" => { spatial_reference_name.push_str("WGS84"); 4326 }
        _ => 0,
    }
}
// Here, spatial_reference_name goes out of scope. But because it does not have ownership of what it refers to, nothing happens.
Here, spatial_reference_name goes out of scope. But because it does not have ownership of what it refers to, nothing happens.
Here spatial_reference_name goes out of scope . But because it does not have ownership of what it refers to nothing happens .
fn change_borrowed(spatial_reference_name: &mut String) -> i32 {
    match spatial_reference_name.as_ref() {
        "WGS84" => 4326,
        "" => { spatial_reference_name.push_str("WGS84"); 4326 }
        _ => 0,
    }
}
fn change_borrowed ( spatial_reference_name : & mut String ) -> i32 { match spatial_reference_name . as_ref ( ) { " " => 4326 , " " => { spatial_reference_name . push_str ( " " ) ; 4326 } _ => 0 , } }
Here, spatial_reference_name goes out of scope.
Here spatial_reference_name goes out of scope .
spatial_reference_name
&mut String
spatial_reference_name
&mut String