We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bedfa02 + f6f3304 commit d3c31faCopy full SHA for d3c31fa
src/ffi.rs
@@ -1,10 +1,10 @@
1
//! Define traits related to wrapping tskit stuff
2
3
/// Define what it means to wrap a tskit struct.
4
-/// The implementation of Drop should call the
5
-/// tsk_foo_free() function corresponding
6
-/// to tsk_foo_t.
7
-pub trait TskitType<T>: Drop {
+/// In practice, one needs to implement Drop for
+/// test types, calling the tsk_foo_free() function
+/// corresponding to tsk_foo_t.
+pub trait TskitType<T> {
8
/// Encapsulate tsk_foo_t and return rust
9
/// object. Best practices seem to
10
/// suggest using Box for this.
0 commit comments