Current view:
top level
-
src
- main.rs
Date:
2020-11-24 00:19:56
Hit
Total
Coverage
Lines
3
3
100.0 %
Functions
1
1
100.0 %
Branches
0
0
0.0 %
1
use std::fmt::Debug;
2
3
#[derive(Debug)]
4
pub struct Ciao {
5
pub saluto: String,
6
}
7
8
fn main() {
9
1
let ciao = Ciao{ saluto: String::from("salve") };
10
11
1
assert!(ciao.saluto == "salve");
12
1
}