We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vec
When creating a new Vec, no new ptr is created and therefor the following fails:
#[test] fn test_clone() { let vec_1: Vec<u64> = Vec::new(); let vec_2: Vec<u64> = Vec::new(); let vec_3: Vec<u64> = vec_1.clone(); assert(vec_1.ptr() != vec_2.ptr()); // This fails assert(vec_1.ptr() != vec_3.ptr()); // This fails }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When creating a new
Vec
, no new ptr is created and therefor the following fails:The text was updated successfully, but these errors were encountered: