fn check_location(
items: &[Node],
target_position: TargetPosition,
) -> Result<(), MoveError>
Expand description
Check whether target_position
is a valid location for insertion
This means we have to check if the requested indentation level is correct.