Sokoban: Difference between revisions

Content added Content deleted
(→‎{{header|Ruby}}: refactoring)
(Updated second D entry)
Line 931: Line 931:
}
}


CellIndex[] slice(in size_t i, in size_t j) pure nothrow @nogc {
CellIndex[] slice(in size_t i, in size_t j) pure nothrow @nogc return {
return c_.ptr[i .. j];
return c_.ptr[i .. j];
}
}