[][src]Function display_utils::indent_4

pub fn indent_4(depth: usize) -> impl Display

Indent to a given depth using 4 spaces.

This is a shortcut for repeat(" ", depth); please see that function if you wish to use a different indent string.

assert_eq!(indent_4(2).to_string(), "        ");