Edit
This commit is contained in:
parent
7b58c227e1
commit
43509afb31
@ -4,4 +4,14 @@ pub fn clone_a_model<M>(model: &M) -> M
|
|||||||
where
|
where
|
||||||
M: ModelTrait {
|
M: ModelTrait {
|
||||||
model.clone()
|
model.clone()
|
||||||
|
}
|
||||||
|
|
||||||
|
#[cfg(test)]
|
||||||
|
mod tests {
|
||||||
|
use super::*;
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn test() {
|
||||||
|
println!("OK");
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user