Home / Docs / Editions

Migrating from edition 0.1

Release v0.4.0

Change edition = "0.1" to "0.2" in una.toml, then check. What can change:

The same module can stay in edition 0.1, where for example type keeps its hint and edit is still reserved:

una
-- edition 0.1
-- fails with U0103
module demo

pub change(edit: Int) -> Int = edit