<commit_before>fn main()
{
    let x = true;

    let y:bool = false;

    let xx = 'x';

    //Unlike some other languages, this means that Rust’s char is not a single byte, but four.
    let two_hearts = '💕';

    let a = 10; // x has type i32

    let b = 1.0; // y has type f64

    // arrays
    let a = [1, 2, 3]; // a: [i32; 3]
    let mut m = [1, 2, 3]; // m: [i32; 3]

    let a1 = [0; 20]; // a: [i32; 20]

    println!("a1 has {} elements", a1.len());

    let names = ["Graydon", "Brian", "Niko"]; // names: [&str; 3]

    println!("The second name is: {}", names[1]);

    //slices
    let middle = &a1[1..4];

}<commit_msg>examples of tuples and functions added<commit_after>fn main()
{
    let x = true;

    let y:bool = false;

    let xx = 'x';

    //Unlike some other languages, this means that Rust’s char is not a single byte, but four.
    let two_hearts = '💕';

    let a = 10; // x has type i32

    let b = 1.0; // y has type f64

    // arrays
    let a = [1, 2, 3]; // a: [i32; 3]
    let mut m = [1, 2, 3]; // m: [i32; 3]

    let a1 = [0; 20]; // a: [i32; 20]

    println!("a1 has {} elements", a1.len());

    let names = ["Graydon", "Brian", "Niko"]; // names: [&str; 3]

    println!("The second name is: {}", names[1]);

    //slices
    let middle = &a1[1..4];

    //tuples
    let x1: (i32, &str) = (1, "hello");

    let mut x2 = (1, 2);
    let y2 = (2,3);

    x2 = y2;

    //Functions
    fn foo(x: i32) -> i32 { x }
    let x3: fn(i32) -> i32 = foo;

}
{'fraction_non_alphanumeric': 0.19518716577540107, 'fraction_numerical': 0.060828877005347594, 'mean_word_length': 1.9643564356435643, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6865227', 'n_tokens_mistral': 671, 'n_tokens_neox': 594, 'n_words': 213}