blob: e87f4f40c3d3ae8753b2ec70d43092d6173e5a70 (
plain) (
tree)
|
|
use askama::Template;
#[derive(Template)]
#[template(
source = r#"{% for v in values %}{{ loop.cycle("r", "g", "b") }}{{ v }},{% endfor %}"#,
ext = "txt"
)]
struct ForCycle<'a> {
values: &'a [u8],
}
fn main() {
}
|