Fix clippy and track in CI
`flake check` will run clippy.
This commit is contained in:
parent
654addc555
commit
351a206776
13 changed files with 82 additions and 50 deletions
|
|
@ -3,11 +3,19 @@ use super::Value;
|
|||
use nix_bindings_bindgen_raw as raw;
|
||||
|
||||
/// See [Value::new].
|
||||
///
|
||||
/// # Safety
|
||||
///
|
||||
/// See underlying function.
|
||||
pub unsafe fn raw_value_new(ptr: *mut raw::Value) -> Value {
|
||||
Value::new(ptr)
|
||||
}
|
||||
|
||||
/// See [Value::new_borrowed].
|
||||
///
|
||||
/// # Safety
|
||||
///
|
||||
/// See underlying function.
|
||||
pub unsafe fn raw_value_new_borrowed(ptr: *mut raw::Value) -> Value {
|
||||
Value::new_borrowed(ptr)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue