From d3942d37ff7bdeb8cdc98d087e577483943a5777 Mon Sep 17 00:00:00 2001 From: becheran Date: Tue, 16 Aug 2022 09:15:43 +0200 Subject: [PATCH] #17 Doc grid size limit --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 57ce999..7e37abd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -116,6 +116,8 @@ macro_rules! grid { /// /// Uses a rust `Vec` type to reference the grid data on the heap. /// Also the number of rows and columns are stored in the grid data structure. +/// +/// The size limit of a grid is `rows * cols < usize`. /// /// The grid data is stored in a row-major memory layout. pub struct Grid {