rust_sample_rtx 0.1.0

A sample for lifetimes
use std::fs::File;
use std::io::{ErrorKind, Read};
use std::*;
use std::ops::{Add, Mul};
use std::env;
use std::ffi::OsString;
use std::error::Error;
use rust_sample_rtx::Config;
use std::thread;
use std::time::Duration;
use git2::Repository;

// mods
mod closures;
mod error_handling;
mod structs;
mod generic_addition;
mod trait_with_impl;
mod reading_file_and_printing;
mod custom_iterator;


fn main() {

    println!("Hello");

}












































//
// let x = vec![2, 4, 5, 7, 8];
//
//
// let y = move |z| z==x ;
//
// let other = vec![2, 4, 5, 7, 8];





// Init
// let repo = match Repository::init("/path/to/a/repo") {
// Ok(repo) => repo,
// Err(e) => panic!("failed to init: {}", e),
// };





// Open
// let repo = match Repository::open("/path/to/a/repo") {
//     Ok(repo) => repo,
//     Err(e) => panic!("failed to open: {}", e),
// };






// Clone existing
// let url = "https://github.com/alexcrichton/git2-rs";
// let repo = match Repository::clone(url, "/path/to/a/repo") {
//     Ok(repo) => repo,
//     Err(e) => panic!("failed to clone: {}", e),
// };