Skip to content

Commit

Permalink
minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
marc2332 committed Aug 5, 2023
1 parent b59503d commit f64c2e1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion core/src/accessibility_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ impl AccessibilityState {
Self::default()
}

/// Wrap it in a Arc<Mutex<T>>.
/// Wrap it in a `Arc<Mutex<T>>`.
pub fn wrap(self) -> SharedAccessibilityState {
Arc::new(Mutex::new(self))
}
Expand Down
9 changes: 6 additions & 3 deletions freya/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
//!
//! render!(
//! rect {
//! overflow: "clip",
//! height: "100%",
//! width: "100%",
//! background: "rgb(35, 35, 35)",
Expand All @@ -32,12 +31,16 @@
//!
//! ```
//!
//! ## Features flags
//!
//! - `devtools`: Enables a side panel to inspect your App tree, styles and computed layout.
//! - `use_camera`: Enables the `use_camera` hook.
//! - `log`: Enables internal logs.
//!

/// Dioxus library.
pub use dioxus;

pub use freya_renderer::WindowConfig;

/// Launch your application.
pub mod launch;

Expand Down
2 changes: 1 addition & 1 deletion hooks/src/use_animation_transition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ impl TransitionState {
}
}

/// Manage the lifecyle of an [AnimationTransitionManager].
/// Manage the lifecyle of a collection of transitions.
#[derive(Clone)]
pub struct TransitionsManager<'a> {
/// Registered transitions
Expand Down
2 changes: 1 addition & 1 deletion testing/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::time::Duration;

use torin::geometry::Size2D;

/// Configuration for a [`TestingHandler`].
/// Configuration for [`crate::test_handler::TestingHandler`].
pub struct TestingConfig {
vdom_timeout: Duration,
size: Size2D,
Expand Down

0 comments on commit f64c2e1

Please sign in to comment.