| commit | 0df1fdbcedc4f3d58cd49cd62dabf96617ad7035 | [log] [tgz] |
|---|---|---|
| author | David Tolnay <dtolnay@gmail.com> | Wed Jan 27 11:26:36 2021 -0800 |
| committer | David Tolnay <dtolnay@gmail.com> | Wed Jan 27 11:26:39 2021 -0800 |
| tree | aa9dd74eef73f3b2b1e99db5afc94e59d7660da3 | |
| parent | dcc1db841ebfb3cb36dc869854e3370713e3b144 [diff] [blame] |
Allow Send/Sync of let_cxx_string
diff --git a/src/cxx_string.rs b/src/cxx_string.rs index 10abbce..08a58b1 100644 --- a/src/cxx_string.rs +++ b/src/cxx_string.rs
@@ -188,7 +188,7 @@ pub struct StackString { // Static assertions in cxx.cc validate that this is large enough and // aligned enough. - space: MaybeUninit<[*const (); 8]>, + space: MaybeUninit<[usize; 8]>, } impl StackString {