Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
declantsien committed May 5, 2024
1 parent 797bfd8 commit fccd8d9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
10 changes: 0 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ impl Drop for RenderingContextData {
}
}

#[allow(dead_code)]
impl RenderingContext {
pub fn create(
connection: &Connection,
Expand Down
2 changes: 1 addition & 1 deletion crates/emacs-sys/src/vector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ impl_vectorlike_ref! { LispVectorRef, LispVecIterator, ptrdiff_t::max_value() }
pub static HEADER_SIZE: LazyLock<usize> =
LazyLock::new(|| memoffset::offset_of!(crate::bindings::Lisp_Vector, contents));
pub static WORD_SIZE: LazyLock<usize> =
LazyLock::new(|| ::std::mem::size_of::<crate::lisp::LispObject>());
LazyLock::new(::std::mem::size_of::<crate::lisp::LispObject>);

pub trait LVector {
fn vectorp(self) -> bool;
Expand Down

0 comments on commit fccd8d9

Please sign in to comment.