diff options
| author | Subhash Bhushan <subhash.bhushan@kaybus.com> | 2014-11-08 21:17:51 +0530 |
|---|---|---|
| committer | Subhash Bhushan <subhash.bhushan@kaybus.com> | 2014-11-20 23:45:42 +0530 |
| commit | bc9de771d5f2ab71a0e3b0eb27a92c65e8ddd4b9 (patch) | |
| tree | 3c4b73ceb5ca5574d2025d9da1ed86a2f6af2b71 /src/libstd/c_vec.rs | |
| parent | 394269d16e3752a23ffa273e68f8aaefd2a510c4 (diff) | |
| download | rust-bc9de771d5f2ab71a0e3b0eb27a92c65e8ddd4b9.tar.gz rust-bc9de771d5f2ab71a0e3b0eb27a92c65e8ddd4b9.zip | |
Rename remaining Failures to Panic
Diffstat (limited to 'src/libstd/c_vec.rs')
| -rw-r--r-- | src/libstd/c_vec.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/c_vec.rs b/src/libstd/c_vec.rs index 771184df53d..1267d7411cc 100644 --- a/src/libstd/c_vec.rs +++ b/src/libstd/c_vec.rs @@ -64,7 +64,7 @@ impl<T> Drop for CVec<T> { impl<T> CVec<T> { /// Create a `CVec` from a raw pointer to a buffer with a given length. /// - /// Fails if the given pointer is null. The returned vector will not attempt + /// Panics if the given pointer is null. The returned vector will not attempt /// to deallocate the vector when dropped. /// /// # Arguments @@ -83,7 +83,7 @@ impl<T> CVec<T> { /// Create a `CVec` from a foreign buffer, with a given length, /// and a function to run upon destruction. /// - /// Fails if the given pointer is null. + /// Panics if the given pointer is null. /// /// # Arguments /// |
