diff --git a/crates/egui/src/ui.rs b/crates/egui/src/ui.rs index 56db9e97..9ff05a26 100644 --- a/crates/egui/src/ui.rs +++ b/crates/egui/src/ui.rs @@ -1806,6 +1806,9 @@ impl Ui { } /// A [`CollapsingHeader`] that starts out collapsed. + /// + /// The name must be unique within the current parent, + /// or you need to use [`CollapsingHeader::id_source`]. pub fn collapsing( &mut self, heading: impl Into,