dcode/lib.rs
1pub mod console
2{
3 pub fn out<Text: Into<String>> (text: Text)
4 {
5 print!("{}", text.into());
6 }
7
8 pub fn outln<Text: Into<String>> (text: Text)
9 {
10 print!("{}\n", text.into());
11 }
12}
13
14
15
16
17
18#[cfg(test)]
19mod tests
20{
21 //use super::*;
22
23 #[test]
24 fn test_example()
25 {
26 assert_eq!(5, 5);
27 }
28}