<commit_before>extern crate enigo;

use enigo::Enigo;
use std::io::Write;

use std::{thread, time};

fn main() {
    let wait_time = time::Duration::from_millis(200);
    let mut enigo = Enigo::new();

    thread::sleep(wait_time);

    // Currently will not fail.
    write!(enigo, "Hello World").unwrap();
}<commit_msg>fix stream example; write trait only implemented for linux<commit_after>extern crate enigo;

use enigo::Enigo;
use std::io::Write;

use std::{thread, time};

fn main() {
    let wait_time = time::Duration::from_millis(200);
    let mut enigo = Enigo::new();

    thread::sleep(wait_time);

    // Currently will not fail.
    #[cfg(target_os = "linux")]
    write!(enigo, "Hello World").unwrap();
}
{'fraction_non_alphanumeric': 0.1627260083449235, 'fraction_numerical': 0.008344923504867872, 'mean_word_length': 4.294117647058823, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7348550', 'n_tokens_mistral': 249, 'n_tokens_neox': 241, 'n_words': 64}