Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSapin committed Jul 14, 2017
1 parent eee5ffb commit f8fd671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vec-final.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ impl<T> RawVec<T> {
Err(err) => Heap.oom(err),
};

self.ptr = Unique::new(ptr as *mut _);
self.ptr = Unique::new_unchecked(ptr as *mut _);
self.cap = new_cap;
}
}
Expand Down

0 comments on commit f8fd671

Please sign in to comment.