diff options
author | Matan Kushner <hello@matchai.me> | 2019-04-04 12:18:02 -0400 |
---|---|---|
committer | Matan Kushner <hello@matchai.me> | 2019-04-04 12:18:05 -0400 |
commit | a81eabd690f171cda1738b37de3266993712c714 (patch) | |
tree | 07c170452863a1717e49afe900dae1e2c808c160 /src/main.rs | |
parent | 471af82ebecfb81262d6281fb784e2b177b0fe70 (diff) |
Move Segment struct to modules
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/main.rs b/src/main.rs index 7cbe7d225..f1de02bbe 100644 --- a/src/main.rs +++ b/src/main.rs @@ -5,16 +5,8 @@ extern crate ansi_term; mod modules; mod print; -use ansi_term::Style; use clap::{App, Arg}; -pub struct Segment { - style: Style, - value: String, - prefix: Option<Box<Segment>>, - suffix: Option<Box<Segment>>, -} - fn main() { let args = App::new("Starship") .about("The cross-platform prompt for astronauts. ✨🚀") |