Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make BreakReason public #300

Merged
merged 1 commit into from
Mar 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions parley/src/layout/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ use alignment::unjustify;
#[cfg(feature = "accesskit")]
use alloc::vec::Vec;
use core::{cmp::Ordering, ops::Range};
use data::{
BreakReason, ClusterData, LayoutData, LayoutItem, LayoutItemKind, LineData, LineItemData,
RunData,
};
use data::{ClusterData, LayoutData, LayoutItem, LayoutItemKind, LineData, LineItemData, RunData};
#[cfg(feature = "accesskit")]
use hashbrown::{HashMap, HashSet};
use swash::text::cluster::{Boundary, ClusterInfo};
Expand All @@ -35,6 +32,7 @@ use swash::{GlyphId, NormalizedCoord, Synthesis};
pub use alignment::AlignmentOptions;
pub use cluster::{Affinity, ClusterPath, ClusterSide};
pub use cursor::{Cursor, Selection};
pub use data::BreakReason;
pub use line::greedy::BreakLines;
pub use line::{GlyphRun, LineMetrics, PositionedInlineBox, PositionedLayoutItem};
pub use run::RunMetrics;
Expand Down
1 change: 0 additions & 1 deletion parley/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
#![allow(missing_docs, reason = "We have many as-yet undocumented items.")]
#![expect(
missing_debug_implementations,
unnameable_types,
clippy::allow_attributes_without_reason,
clippy::cast_possible_truncation,
clippy::missing_assert_message,
Expand Down