0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-12-27 01:29:19 -05:00

Fix typo in signature of trait method 'Shared::from_unique_ptr()' (#393)

This commit is contained in:
Bert Belder 2020-06-01 08:44:10 +02:00
parent 771acbab02
commit e4c260b8d2
No known key found for this signature in database
GPG key ID: 7A77887B2E2ED461

View file

@ -177,7 +177,7 @@ where
Self: Sized, Self: Sized,
{ {
fn clone(shared_ptr: &SharedPtrBase<Self>) -> SharedPtrBase<Self>; fn clone(shared_ptr: &SharedPtrBase<Self>) -> SharedPtrBase<Self>;
fn from_unique_ptr(shared_ptr: UniquePtr<Self>) -> SharedPtrBase<Self>; fn from_unique_ptr(unique_ptr: UniquePtr<Self>) -> SharedPtrBase<Self>;
fn get(shared_ptr: &SharedPtrBase<Self>) -> *mut Self; fn get(shared_ptr: &SharedPtrBase<Self>) -> *mut Self;
fn reset(shared_ptr: &mut SharedPtrBase<Self>); fn reset(shared_ptr: &mut SharedPtrBase<Self>);
fn use_count(shared_ptr: &SharedPtrBase<Self>) -> long; fn use_count(shared_ptr: &SharedPtrBase<Self>) -> long;