fixed + added repl config

This commit is contained in:
Maddie 2022-11-03 13:33:00 +00:00
parent 70678df036
commit 94d5d6f8d4
2 changed files with 5 additions and 4 deletions

1
.replit Normal file
View File

@ -0,0 +1 @@
run = "cargo run"

View File

@ -10,10 +10,10 @@ struct Buffer<'a> {
path: &'a str,
}
struct Editor {
buffer: Buffer,
cursor: [i32, 2],
mode: Mode;
struct Editor<'a> {
buffer: Buffer<'a>,
cursor: [i32; 2],
mode: Mode,
}
fn main() {