MazeGenerator.Grid.open_passage

You're seeing just the function open_passage, go back to MazeGenerator.Grid module for more information.
Link to this function

open_passage(grid, one, two)

View Source

Specs

open_passage(
  t(),
  {pos_integer(), pos_integer()},
  {pos_integer(), pos_integer()}
) :: t()

Opens a passage in the border between two adjacent cells. If the cells are not adjacent or are the same cell, it does nothing.