1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-05-31 23:50:52 +00:00
starship/src/modules/mod.rs
2019-04-03 20:14:26 -04:00

12 lines
187 B
Rust

mod char;
use crate::Segment;
pub fn handle(module: &str) -> Segment {
match module {
"char" => char::segment(),
_ => panic!("Unknown module: {}", module),
}
}