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

Switch wrapping functions to use a slice for line_widths #358

Merged
merged 1 commit into from
May 16, 2021

Conversation

mgeisler
Copy link
Owner

I plan to introduce a trait for the wrap algorithms (#325) and this aligns better with such a trait. The reason is that a trait method cannot have generic parameters, such as a F: Fn(usize) -> usize parameter.

I plan to introduce a trait for the wrap algorithms (#325) and this
aligns better with such a trait. The reason is that a trait method
cannot have generic parameters, such as a `F: Fn(usize) -> usize`
parameter.
@mgeisler mgeisler enabled auto-merge May 16, 2021 14:36
@mgeisler mgeisler merged commit f056656 into master May 16, 2021
@mgeisler mgeisler deleted the line-widths-slice branch May 16, 2021 14:41
@github-actions github-actions bot mentioned this pull request May 30, 2021
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