mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-05-31 23:50:52 +00:00
12 lines
187 B
Rust
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),
|
|
}
|
|
}
|