mirror of https://github.com/linebender/xilem
Fix clippy lints
This commit is contained in:
parent
406d4b9932
commit
1a73b9526b
|
@ -1,14 +1,18 @@
|
|||
// Copyright 2025 the Xilem Authors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
#![allow(missing_docs)]
|
||||
//! This module imports widget code from other examples.
|
||||
//!
|
||||
//! When running unit tests, it will compare the rendered snapshots of the widgets
|
||||
//! with the expected snapshots.
|
||||
|
||||
fn main() {
|
||||
println!("This example is only used to compile other examples.")
|
||||
println!("This example is only used to compile other examples.");
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
#[allow(dead_code)]
|
||||
#[allow(dead_code, reason = "We don't need to run the main functions.")]
|
||||
#[allow(missing_docs, reason = "Example code doesn't need docs.")]
|
||||
#[path = "."]
|
||||
pub mod others {
|
||||
pub mod calc_masonry;
|
||||
|
|
Loading…
Reference in New Issue