You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix for #138 : rework for elem_type() which now returns Option<Type> instead of Type
Fixes#138
Since I am new to Rust, I hope I didn't do things too badly
We make this FFI call:
http://clang.llvm.org/doxygen/group__CINDEX__TYPES.html#gab35027c8bc48fab25f7698a415c93922
We should check for an invalid type result and return
None
, otherwiseSome
.This change means that every caller won't have to do this check themselves, which is one less foot gun.
i can mentor whoever works on this bug.
The text was updated successfully, but these errors were encountered: