pub fn state_resource_moved(my_name: &String, to_name: &String) -> String {
    format!(
        "{0}'s resource is moved to {1}, ownership is no longer with {0}",
        my_name,
        to_name
    )
}
// The resource is transferred on this line or before this line due to move,
// thus it is impossible to access this variable anymore. This is an invisible line in the timeline.
The resource is transferred on this line or before this line due to move,
thus it is impossible to access this variable anymore. This is an invisible line in the timeline.
The resource is transferred on this line or before this line due to move thus it is impossible to access this variable anymore . This is an invisible line in the timeline .
pub fn state_resource_moved(my_name: &String, to_name: &String) -> String {
    format!(
        "{0}'s resource is moved to {1}, ownership is no longer with {0}",
        my_name,
        to_name
    )
}
pub fn state_resource_moved ( my_name : & String , to_name : & String ) -> String { format ! ( " " my_name to_name ) }
The resource is transferred on this line or before this line due to move,
thus it is impossible to access this variable anymore.
The resource is transferred on this line or before this line due to move thus it is impossible to access this variable anymore .
my_name
&String
to_name
&String