@@ -374,31 +374,31 @@ impl Clay {
374374/// 
375375/// This ID is global and must be unique across the entire scope. 
376376#[ inline]  
377-     pub  fn  id ( & self ,  label :  & str )  -> id:: Id  { 
377+     pub  fn  id ( & self ,  label :  & ' static   str )  -> id:: Id  { 
378378        id:: Id :: new ( label) 
379379    } 
380380
381381    /// Generates a unique indexed ID based on the given `label` and `index`. 
382382/// 
383383/// This is useful when multiple elements share the same label but need distinct IDs. 
384384#[ inline]  
385-     pub  fn  id_index ( & self ,  label :  & str ,  index :  u32 )  -> id:: Id  { 
385+     pub  fn  id_index ( & self ,  label :  & ' static   str ,  index :  u32 )  -> id:: Id  { 
386386        id:: Id :: new_index ( label,  index) 
387387    } 
388388
389389    /// Generates a locally unique ID based on the given `label`. 
390390/// 
391391/// The ID is unique within a specific local scope but not globally. 
392392#[ inline]  
393-     pub  fn  id_local ( & self ,  label :  & str )  -> id:: Id  { 
393+     pub  fn  id_local ( & self ,  label :  & ' static   str )  -> id:: Id  { 
394394        id:: Id :: new_index_local ( label,  0 ) 
395395    } 
396396
397397    /// Generates a locally unique indexed ID based on the given `label` and `index`. 
398398/// 
399399/// This is useful for differentiating elements within a local scope while keeping their labels consistent. 
400400#[ inline]  
401-     pub  fn  id_index_local ( & self ,  label :  & str ,  index :  u32 )  -> id:: Id  { 
401+     pub  fn  id_index_local ( & self ,  label :  & ' static   str ,  index :  u32 )  -> id:: Id  { 
402402        id:: Id :: new_index_local ( label,  index) 
403403    } 
404404
0 commit comments