summaryrefslogtreecommitdiffstats
path: root/src/modules/line_break.rs
blob: dda14b8f830fca600c0ee1486de0ca7abda0667c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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()
    }
}