Skip to main content

get_minimum_leading_spaces

Function get_minimum_leading_spaces 

Source
const fn get_minimum_leading_spaces(bytes: &[u8]) -> Option<usize>
Expand description

Counts the minimum leading spaces of all non-empty lines except the first line.

Returns None if there are no non-empty lines except the first line.

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here