@@ -137,6 +137,8 @@ pub struct Range<'a, T: 'a> {
137137/// See its documentation for more. 
138138/// 
139139/// [`difference`]: BTreeSet::difference 
140+ #[ must_use = "this returns the difference as an iterator, \   
141+ ] 
140142#[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
141143pub  struct  Difference < ' a ,  T :  ' a >  { 
142144    inner :  DifferenceInner < ' a ,  T > , 
@@ -169,6 +171,8 @@ impl<T: fmt::Debug> fmt::Debug for Difference<'_, T> {
169171/// [`BTreeSet`]. See its documentation for more. 
170172/// 
171173/// [`symmetric_difference`]: BTreeSet::symmetric_difference 
174+ #[ must_use = "this returns the difference as an iterator, \   
175+ ] 
172176#[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
173177pub  struct  SymmetricDifference < ' a ,  T :  ' a > ( MergeIterInner < Iter < ' a ,  T > > ) ; 
174178
@@ -185,6 +189,8 @@ impl<T: fmt::Debug> fmt::Debug for SymmetricDifference<'_, T> {
185189/// See its documentation for more. 
186190/// 
187191/// [`intersection`]: BTreeSet::intersection 
192+ #[ must_use = "this returns the intersection as an iterator, \   
193+ ] 
188194#[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
189195pub  struct  Intersection < ' a ,  T :  ' a >  { 
190196    inner :  IntersectionInner < ' a ,  T > , 
@@ -217,6 +223,8 @@ impl<T: fmt::Debug> fmt::Debug for Intersection<'_, T> {
217223/// See its documentation for more. 
218224/// 
219225/// [`union`]: BTreeSet::union 
226+ #[ must_use = "this returns the union as an iterator, \   
227+ ] 
220228#[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
221229pub  struct  Union < ' a ,  T :  ' a > ( MergeIterInner < Iter < ' a ,  T > > ) ; 
222230
0 commit comments