Data update
This commit is contained in:
parent
81fd053722
commit
52a6ef48dd
10248 changed files with 63654 additions and 6775 deletions
|
|
@ -1,17 +0,0 @@
|
|||
fn make_list(sep: &str) -> String {
|
||||
let mut counter = 0;
|
||||
let mut make_item = |label| {
|
||||
counter += 1;
|
||||
format!("{}{}{}", counter, sep, label)
|
||||
};
|
||||
format!(
|
||||
"{}\n{}\n{}",
|
||||
make_item("First"),
|
||||
make_item("Second"),
|
||||
make_item("Third")
|
||||
)
|
||||
}
|
||||
|
||||
fn main() {
|
||||
println!("{}", make_list(". "))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue