Skip to content

Conversation

@brevalferrari
Copy link

Storing an Instruction instead of, say, a String, is very useful. The only thing missing was Clone that I often need working with nom (the parser combinator library).

I have no idea yet if both Instruction and IC (necessary to implement Clone for Instruction) are Clone-compatible (please tell me!). I will test this soon anyway. It has no effect on crate tests passing or not.

I also had to merge romazu's commit to compile the project without downgrading rustc.

romazu and others added 3 commits January 14, 2025 18:36
…_reference_casting)

It is a zero-cost abstraction, so there is no additional overhead or performance hit.
Use UnsafeCell for char_buf to make modern Rust linter happy (invalid…
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.

2 participants