Skip to content

Avoid from_fn for initializing integer arrays#190

Merged
nunoplopes merged 3 commits into
Cpp2Rust:masterfrom
lucic71:const-init
Jun 12, 2026
Merged

Avoid from_fn for initializing integer arrays#190
nunoplopes merged 3 commits into
Cpp2Rust:masterfrom
lucic71:const-init

Conversation

@lucic71

@lucic71 lucic71 commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

from_fn cannot be used in const initializers in Rust.

@nunoplopes nunoplopes merged commit 81c040d into Cpp2Rust:master Jun 12, 2026
9 checks passed
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