Skip to content

Conversation

@danieleades
Copy link
Contributor

the codegen is outputting both From<&str> and From<&String> implementations. since &String auto-dereferences to &str this is redundant and non-idiomatic.

This is in principle a breaking change, but unlikely to have a significant impact on downstream users due to the auto-deferencing (though it's possible some patterns are doing some funny type inference that could be affected by this change)

@ahl
Copy link
Collaborator

ahl commented Jan 8, 2026

Can you check oxide.rs against this as well please?

@danieleades
Copy link
Contributor Author

Can you check oxide.rs against this as well please?

oxidecomputer/oxide.rs#1320

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