Current view:top level - src - main.rs
Date:2020-11-24 00:20:40
HitTotalCoverage
Lines4666.7 %
Functions1250.0 %
Branches1250.0 %
1use std::fmt::Debug;
2
30#[derive(Debug)]
4pub struct Ciao {
50 pub saluto: String,
6}
7
81fn main() {
91 let ciao = Ciao{ saluto: String::from("salve") };
10
111 assert!(ciao.saluto == "salve");
121}