Function format_serde_error::set_default_context_lines [−][src]
pub fn set_default_context_lines(amount_of_context: usize)
Expand description
Set the default amount of context lines shown. Default amount of context is
CONTEXT_LINES_DEFAULT
. If you want to change the amount of context shown
for a single error use SerdeError::set_context_lines
instead.