Function move_block

Source
pub fn move_block<'tree>(
    src_block: Block<'tree>,
    dst_block: Block<'tree>,
    text: &str,
    assert_move_legal_fn: Option<impl Fn(&Block<'_>, &Block<'_>) -> Result<()>>,
    force: bool,
) -> Result<(String, usize, usize)>