mirror of
https://gitee.com/openharmony/third_party_rust_regex
synced 2025-04-11 23:18:23 +00:00

Somewhat recently, 'CString::from_raw' got a '#[must_use]' slapped on it. Arguably, writing 'drop' around its return value is indeed much clearer. So we do that here. We also do that for 'Box::from_raw' even though it doesn't have a '#[must_use]' on it. But the same principle applies. PR #882