Skip to main content

Module unindent

Module unindent 

Source

Re-exportsΒ§

use crate::impl_::concat::slice_copy_from_slice; πŸ”’
pub use crate::unindent;
use crate::platform::prelude::*; πŸ”’

FunctionsΒ§

advance_to_next_line πŸ”’
consume_eol πŸ”’
copy_forward_until_eol πŸ”’
Brings elements in bytes forward until \n (inclusive) or end of source.
count_spaces πŸ”’
get_minimum_leading_spaces πŸ”’
Counts the minimum leading spaces of all non-empty lines except the first line.
unindent
Equivalent of the unindent! macro, but works at runtime.
unindent_bytes πŸ”’
This is a reimplementation of the indoc crate’s unindent functionality:
unindent_sized
⚠️ Internal Docs ⚠️ Not Public API πŸ‘‰ Official Docs Here