mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
fix some clippy::wrong_self_convention
This commit is contained in:
parent
ad464c4779
commit
fc73911cde
3 changed files with 15 additions and 13 deletions
|
@ -16,6 +16,7 @@ pub(crate) trait PassByValue: Sized {
|
|||
/// # Safety
|
||||
///
|
||||
/// `self` must be a valid CType.
|
||||
#[allow(clippy::wrong_self_convention)]
|
||||
unsafe fn from_ctype(self) -> Self::RustType;
|
||||
|
||||
/// Convert a Rust value to a C value.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue