chore: clippy lints
This commit is contained in:
parent
9301d38b77
commit
5e46fef0d7
17 changed files with 72 additions and 64 deletions
|
|
@ -291,8 +291,9 @@ pub struct LossyUtf8<'a> {
|
|||
}
|
||||
|
||||
impl Language {
|
||||
#[must_use]
|
||||
pub fn new(builder: LanguageFn) -> Self {
|
||||
Self(unsafe { (builder.into_raw())() as _ })
|
||||
Self(unsafe { builder.into_raw()().cast() })
|
||||
}
|
||||
|
||||
/// Get the ABI version number that indicates which version of the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue