diff options
Diffstat (limited to 'src/sheet/cell.rs')
| -rw-r--r-- | src/sheet/cell.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sheet/cell.rs b/src/sheet/cell.rs index 9608b93..3b18bde 100644 --- a/src/sheet/cell.rs +++ b/src/sheet/cell.rs @@ -89,6 +89,10 @@ pub struct CellRef { } impl CellRef { + /// # Safety + /// + /// This function shall only be called by the Sheet instance itsself or + /// if it has been assured that the `SheetId` is valid. pub unsafe fn new(sheet_id: SheetId, row: usize, column: usize, cell: Cell) -> Self { Self { sheet_id, |