rust how to force something to go out of scope, deleteing data code example Example: drop variable rust let v = vec![1, 2, 3]; drop(v); // explicitly drop the vector