Install rust
on your local machine if it isn't installed already. You can follow the Rust Installation Guide
Once rust
is installed, run the following commands in your terminal:
cargo build
cargo run
and then follow the prompts.
This will enable you to test the outputs of the project.
Feel free to fork and edit this project however you see fit. For example, try adding more properties to the SpreadsheetCell enum
and editing the match
statement arms that use it. Here's what that could look like:
pub enum SpreadsheetCell {
Int(i64),
Float(f64),
Text(String),
// add new Title property here
Title(String)
}