INNER CODE UNIT · Rust
templates_to_table
flosse/rust-web-framework-comparison · src/main.rs:253
fn templates_to_table<'a>(templates: &[&Template]) -> table::Table {
let mut rows = vec![vec![
"Name".to_string(),
"Repo".to_string(),
"Docs".to_string(),
"License".to_string(),
"Version".to_string(),
"Stars".to_string(),
"Contributors".to_string(),
"Activity".to_string(),
]];
for t in templates {
let Template {
name,
repo,
homepage,
crates_io,