Skip to content

refactor!: implement generic From<T> for DeviceTreeNode#28

Merged
m4tx merged 1 commit into
mainfrom
generic-from
Jan 26, 2026
Merged

refactor!: implement generic From<T> for DeviceTreeNode#28
m4tx merged 1 commit into
mainfrom
generic-from

Conversation

@m4tx

@m4tx m4tx commented Jan 26, 2026

Copy link
Copy Markdown
Collaborator

TryFrom is no longer needed as Fdt's accessors are no longer fallible. Moreover, with the new traits in place, we can implement From for any generic T: Node instead of hardcoding it for Fdt.

`TryFrom` is no longer needed as Fdt's accessors are no longer fallible.
Moreover, with the new traits in place, we can implement `From` for any
generic `T: Node` instead of hardcoding it for `Fdt`.
@m4tx m4tx requested a review from qwandor January 26, 2026 14:42
@m4tx m4tx merged commit 77ba283 into main Jan 26, 2026
26 checks passed
@m4tx m4tx deleted the generic-from branch January 26, 2026 14:47
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