-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Sorry to bother you, but it seems that the Drop::drop() trait is not working correctly for Vector?
impl<type T> Drop for Vector<T> {
void drop(mut& self) {
printf(c"<Vector<T> as Drop>::drop() called!\n"); // this line not print
if self.capacity > 0 {
free(self.data as void mut*);
}
}
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels