Skip to content

Commit de40f9b

Browse files
committed
Add comments to ConstructCell
1 parent 1737eed commit de40f9b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

glib/src/construct_cell.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ use std::sync::RwLock;
1010

1111
macro_rules! define_construct {
1212
(@common $ident:ident, $container:ident, $inner:ty) => {
13+
// rustdoc-stripper-ignore-next
14+
/// Wrapper around a container type to be used for custom glib properties which get set during
15+
/// the construct phase. This is especially useful when used alongside the Properties macro.
1316
#[derive(Debug)]
1417
pub struct $ident<T>($container<$inner>);
1518
impl<T> Default for $ident<T> {

0 commit comments

Comments
 (0)