Skip to content

Commit bb69386

Browse files
glib: Mention lack of finalize method on ObjectImpl
1 parent 5d74f74 commit bb69386

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

glib/src/subclass/object.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ use crate::{prelude::*, translate::*, Cast, Object, ParamSpec, Slice, Value};
1212
// rustdoc-stripper-ignore-next
1313
/// Trait for implementors of `glib::Object` subclasses.
1414
///
15-
/// This allows overriding the virtual methods of `glib::Object`.
15+
/// This allows overriding the virtual methods of `glib::Object`. Except for
16+
/// `finalize` as implementing `Drop` would allow the same behavior.
1617
pub trait ObjectImpl: ObjectSubclass + ObjectImplExt {
1718
// rustdoc-stripper-ignore-next
1819
/// Properties installed for this type.

0 commit comments

Comments
 (0)