updates - i forget, starting over chapter 6
This commit is contained in:
parent
645a565719
commit
f0c8a6b687
|
@ -0,0 +1,7 @@
|
|||
# This file is automatically @generated by Cargo.
|
||||
# It is not intended for manual editing.
|
||||
version = 3
|
||||
|
||||
[[package]]
|
||||
name = "apple"
|
||||
version = "0.1.0"
|
|
@ -0,0 +1,8 @@
|
|||
[package]
|
||||
name = "apple"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
|
@ -0,0 +1,3 @@
|
|||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env -S just --justfile
|
||||
|
||||
vimspector:
|
||||
echo -e "{ \"configurations\": { \"launch\": {\n \"adapter\": \"CodeLLDB\",\n \"filetypes\": [ \"rust\" ],\n \"configuration\": {\n \"request\": \"launch\",\n \"program\": \"\${workspaceRoot}/target/debug/rectangles\"\n }\n }\n }\n }" >> ./.vimspector.json
|
||||
|
||||
|
||||
p:
|
||||
echo $(pwd)
|
|
@ -0,0 +1,15 @@
|
|||
|
||||
|
||||
{
|
||||
"configurations": {
|
||||
"launch": {
|
||||
"adapter": "CodeLLDB",
|
||||
"filetypes": [ "rust" ],
|
||||
"configuration": {
|
||||
"request": "launch",
|
||||
"program": "${workspaceRoot}/target/debug/rectangles"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -25,7 +25,6 @@ impl Rectangle {
|
|||
|
||||
|
||||
|
||||
|
||||
// MAIN
|
||||
fn main() {
|
||||
let rect1 = Rectangle { width:30, height:50};
|
||||
|
|
Loading…
Reference in New Issue