Skip to main content

Crate copybook_safe_index

Crate copybook_safe_index 

Source
Expand description

Panic-safe helpers for low-level indexing and arithmetic operations.

This crate isolates small, single-responsibility helpers that previously lived in other panic-safe utility layers. All errors are translated into copybook-error values.

Functions§

safe_divide
Safely divide two numbers, checking for division by zero.
safe_slice_get
Access a slice index with explicit bounds checking.

Type Aliases§

Result
Result type alias using copybook-error.