You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "Destructors" section of the FFI chapter http://doc.rust-lang.org/book/ffi.html#destructors is, as far as I can tell, the first time in the book that destructors in Rust are mentioned. The short paragraph is not helpful in explaining what they are, and how they are used. When I read this section, I didn't even know Rust had destructors. Either a reference to some further explanation should be provided, or a short example given inline (mentioning at the very least the Drop trait).
The text was updated successfully, but these errors were encountered:
The "Destructors" section of the FFI chapter http://doc.rust-lang.org/book/ffi.html#destructors is, as far as I can tell, the first time in the book that destructors in Rust are mentioned. The short paragraph is not helpful in explaining what they are, and how they are used. When I read this section, I didn't even know Rust had destructors. Either a reference to some further explanation should be provided, or a short example given inline (mentioning at the very least the Drop trait).
The text was updated successfully, but these errors were encountered: