rustfmt_nightly::utils

Function count_lf_crlf

Source
pub(crate) fn count_lf_crlf(input: &str) -> (usize, usize)
Expand description

Returns the number of LF and CRLF respectively.