feat: revamp structure
This commit is contained in:
parent
750c5fc49b
commit
90570ab3e1
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,5 +1,5 @@
|
||||||
# Ignore user file
|
# Ignore user file
|
||||||
nurse/nurse.txt
|
nurse.txt
|
||||||
|
|
||||||
# Added by cargo
|
# Added by cargo
|
||||||
nurse/target
|
nurse/target
|
||||||
|
|
|
@ -3,7 +3,7 @@ use std::fs;
|
||||||
use std::process::Command;
|
use std::process::Command;
|
||||||
|
|
||||||
fn main() -> std::io::Result<()> {
|
fn main() -> std::io::Result<()> {
|
||||||
let file: Vec<String> = fs::read_to_string("nurse.txt")
|
let file: Vec<String> = fs::read_to_string("../nurse.txt")
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.lines()
|
.lines()
|
||||||
.map(String::from)
|
.map(String::from)
|
||||||
|
|
Loading…
Reference in a new issue