Function rustfmt_nightly::utils::count_lf_crlf
source · pub(crate) fn count_lf_crlf(input: &str) -> (usize, usize)
Expand description
Returns the number of LF and CRLF respectively.
pub(crate) fn count_lf_crlf(input: &str) -> (usize, usize)
Returns the number of LF and CRLF respectively.