Skip to content

Move line break opportunity overrides into parley_core#648

Open
tomcur wants to merge 2 commits into
linebender:mainfrom
tomcur:parley-core-lboverride
Open

Move line break opportunity overrides into parley_core#648
tomcur wants to merge 2 commits into
linebender:mainfrom
tomcur:parley-core-lboverride

Conversation

@tomcur

@tomcur tomcur commented Jun 23, 2026

Copy link
Copy Markdown
Member

On top of #647.

Temporarily removes #[non_exhaustive] from LineBreakContext to allow parley to construct it (becomes non_exhaustive again once the next PR lands).

tomcur added 2 commits June 23, 2026 16:45
Temporarily removes `#[non_exhaustive]` from `LineBreakContext` to allow
`parley` to construct it.
/// # use parley::{CHROMIUM_LINE_BREAK_OVERRIDE, FontContext, LayoutContext};
/// # let mut font_cx = FontContext::default();
/// # let mut layout_cx: LayoutContext<[u8; 4]> = LayoutContext::new();
/// ```ignore

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similarly to the non_exhaustive, this doctest is re-enabled in the next PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant