Comment Comment by vaibhavkul Maybe this is off topic, but while reading this article it occurred to me that wouldn't it be useful if the ownership transfer is syntax highlighted?e.g. in let new_owner = original_owner; println!("{}", original_owner); we could have original_owner on the second line have a different color signifying it doesn't own anything.Or, does such a syntax highlighter already exist? parent vaibhavkul 10 years ago
e.g. in
we could have original_owner on the second line have a different color signifying it doesn't own anything.Or, does such a syntax highlighter already exist?