| commit | 215e77fbec91468f294ea372f7c5524ed890de65 | [log] [tgz] |
|---|---|---|
| author | David Tolnay <dtolnay@gmail.com> | Mon Dec 28 17:09:48 2020 -0800 |
| committer | David Tolnay <dtolnay@gmail.com> | Mon Dec 28 17:41:20 2020 -0800 |
| tree | 73fdfa32580be49721a028616cb6961ec90b09f2 | |
| parent | cd1430c5ef65932a24c7fd2fd478db16a8cb19e1 [diff] [blame] |
Add Rust std::weak_ptr binding
diff --git a/syntax/pod.rs b/syntax/pod.rs index d808a99..e1c4831 100644 --- a/syntax/pod.rs +++ b/syntax/pod.rs
@@ -26,6 +26,7 @@ | Type::RustVec(_) | Type::UniquePtr(_) | Type::SharedPtr(_) + | Type::WeakPtr(_) | Type::CxxVector(_) | Type::Void(_) => false, Type::Ref(_) | Type::Str(_) | Type::Fn(_) | Type::SliceRef(_) => true,