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 ToCss' SequenceWriter not monomorphise like a maniac anymore #19838

Merged
merged 4 commits into from Jan 23, 2018

Commits on Jan 23, 2018

  1. Change ToCss to take a CssWriter<W>

    This more concrete wrapper type can write a prefix the very first time something
    is written to it. This allows removing plenty of useless monomorphisations caused
    by the former W/SequenceWriter<W> pair of types.
    nox committed Jan 23, 2018
  2. Derive ToCss for TransformOperation

    Now that SequenceWriter<W> does not monomorphise excessively, we can actually
    type check a derived ToCss without too much type recursion.
    nox committed Jan 23, 2018
You can’t perform that action at this time.