cogciprocate / ocl

OpenCL for Rust
Other
721 stars 75 forks source link

Fix compiler warning #179

Closed LuoZijun closed 2 years ago

LuoZijun commented 4 years ago

Changes:

  1. r#try!(...) --> (...)?
  2. mem::uninitialized() --> mem::MaybeUninit::uninit().assume_init()
gkelly commented 4 years ago

Whoops, should have looked for this PR before I opened https://github.com/cogciprocate/ocl/pull/183.

c0gent commented 2 years ago

Fixed by #208