Skip to content

Commit

Permalink
feat: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanceras committed Feb 19, 2024
1 parent 33e9a47 commit ef294a7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions crates/sauron-core/src/dom/application.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
use crate::dom::Cmd;
use crate::vdom::Node;
use mt_dom::TreePath;
pub use pre_diff::{diff_if, PreDiff};
use std::fmt;

mod pre_diff;

Expand Down
1 change: 1 addition & 0 deletions crates/sauron-core/src/dom/program.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use crate::dom::program::app_context::WeakContext;
use crate::dom::request_animation_frame;
#[cfg(feature = "with-ric")]
use crate::dom::request_idle_callback;
#[cfg(feature = "pre-diff")]
use crate::dom::PreDiff;
use crate::dom::{document, now, IdleDeadline, Measurements, Modifier};
use crate::dom::{util::body, AnimationFrameHandle, Application, DomPatch, IdleCallbackHandle};
Expand Down
4 changes: 1 addition & 3 deletions crates/sauron-core/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/*
#![deny(
warnings,
missing_docs,
Expand All @@ -8,8 +7,7 @@
unstable_features,
unused_import_braces
)]
*/
//#![forbid(unsafe_code)]
#![forbid(unsafe_code)]
#![deny(clippy::all)]
//! The core components of sauron
#[macro_use]
Expand Down

0 comments on commit ef294a7

Please sign in to comment.