1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
pub fn print_useless(){
println!("Hello VladArtem")
}
#[derive(Debug)]
pub struct Info<'a,'b>{
author:&'a str,
info:&'b str
}
pub fn printInfo(author:&str,info:&str){
println!("Struct info {:?}",Info{author,info})
}