去除 unsafe 代碼
Open
- Dominant language
- Rust
- Stars
- 2
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
閱讀這個矩陣變換代碼,試着改點東西,把這兩行
https://github.com/andelf/rust-mtl/blob/a10957c653fed0303c80f301e9fb541979000f15/src/matrix/mod.rs#L174-L175
改成
```
let v = vec![T::default(); num_rows * num_cols];
```
後,事情走向失控,請問怎麼弄才可以順利收場?
希望樓主能重構一把代碼。
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.