Current view:top level - src - main.rs
Date:2020-11-24 00:19:56
HitTotalCoverage
Lines33100.0 %
Functions11100.0 %
Branches000.0 %
1use std::fmt::Debug;
2
3#[derive(Debug)]
4pub struct Ciao {
5 pub saluto: String,
6}
7
8fn main() {
91 let ciao = Ciao{ saluto: String::from("salve") };
10
111 assert!(ciao.saluto == "salve");
121}