<commit_before>#[ allow( unused_imports ) ]
use clone_dyn::clone_dyn;

fn main()
{

  #[ clone_dyn ]
  trait Trait1
  {
  }

  let vec = Vec::< Box< dyn Trait1 > >::new();
  let _vec2 = vec.clone(); /* <- it does not work without `clone_dyn` */

}<commit_msg>Fix sample `clone_dyn_trivial_sample`, add condition<commit_after>#[ allow( unused_imports ) ]
use clone_dyn::clone_dyn;

fn main()
{

  #[ cfg( any( feature = "use_std", feature = "use_alloc" ) ) ]
  {
    #[ clone_dyn ]
    trait Trait1
    {
    }

    let vec = Vec::< Box< dyn Trait1 > >::new();
    let _vec2 = vec.clone(); /* <- it does not work without `clone_dyn` */
  }

}
{'fraction_non_alphanumeric': 0.17004680187207488, 'fraction_numerical': 0.0093603744149766, 'mean_word_length': 3.141935483870968, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3741922', 'n_tokens_mistral': 246, 'n_tokens_neox': 244, 'n_words': 62}