cdk-rs
cdk-rs copied to clipboard
chore: Add safety comments
It is good practice, with associated lints, to put # Safety on any unsafe function, prefix any unsafe block with // SAFETY:, and use explicit unsafe blocks even in unsafe functions. This PR adds safety docs to existing unsafe code (and marks some incorrect code to be fixed in a future PR).