1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-09-28 21:19:10 +00:00
starship/src/modules/mod.rs

12 lines
187 B
Rust
Raw Normal View History

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