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

refactor(structure)!: remove BlockBody and OnelineBody #218

Merged
merged 1 commit into from
May 4, 2023

Commits on May 3, 2023

  1. refactor(structure)!: remove BlockBody and OnelineBody

    BREAKING CHANGE: The `BlockBody` and `OnelineBody` types were removed.
    `Block` now directly uses `Body`. One-line blocks can still be
    constructed by calling `body.set_prefer_oneline(true)`.
    
    This removes some unnecessary layer of abstraction which made working
    with blocks more complicated than it needed to be.
    martinohmann committed May 3, 2023
    Configuration menu
    Copy the full SHA
    871a806 View commit details
    Browse the repository at this point in the history