The scope of the unsafe block can be appropriately reduced#319
The scope of the unsafe block can be appropriately reduced#3199prady9 merged 2 commits intoarrayfire:masterfrom
Conversation
|
@peamaeq Please fix the commit message. |
|
please also address the formatting and clippy issues |
Sorry for the long reply, thanks |
I am not sure which long reply you are talking about. I was referring to the commit message "0517". What does that mean ? Can you put some readable text in the commit message. |
I'm so sorry🤦♂️, '0517' is date. I'm really no expert with unsafe but my understanding is that you should choose the scopes as small as possible and such that any code outside of the unsafe block can't use it's results to cause havoc. Then people only have to look at these small unsafe blocks and as long as they consider them "safe" the whole code should be safe. |
No description provided.