mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-09-29 05:29:11 +00:00
14 lines
280 B
Rust
14 lines
280 B
Rust
|
use super::Segment;
|
||
|
use clap::ArgMatches;
|
||
|
|
||
|
/// Creates a segment for the line break
|
||
|
pub fn segment(_: &ArgMatches) -> Segment {
|
||
|
const LINE_ENDING: &str = "\n";
|
||
|
|
||
|
Segment {
|
||
|
value: String::from(LINE_ENDING),
|
||
|
suffix: None,
|
||
|
..Default::default()
|
||
|
}
|
||
|
}
|