summaryrefslogtreecommitdiffstats
path: root/src/modules/line_break.rs
blob: c0c79ea4c2e53739ce6c8cccb4a1fa5e0ff3be6f (plain)
1
2
3
4
5
6
7
8
9
10
11
use super::Segment;
use clap::ArgMatches;

/// Creates a segment for the line break
pub fn segment(_: &ArgMatches) -> Segment {
    const LINE_ENDING: &str = "\n";

    let mut segment = Segment::new("line_break");

    segment.set_value(LINE_ENDING).clone()
}