mirror of
https://github.com/cupcakearmy/advent-of-code.git
synced 2025-12-17 07:04:58 +00:00
hygen rust
This commit is contained in:
9
_templates/riddle/new/rust.ejs.t
Normal file
9
_templates/riddle/new/rust.ejs.t
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
to: <%= dir %>/rust/main.rs
|
||||
unless_exists: true
|
||||
---
|
||||
fn main() {
|
||||
// Part A
|
||||
let contents = include_str!("../test.txt").trim();
|
||||
println!("A: {}", contents);
|
||||
}
|
||||
Reference in New Issue
Block a user