mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-27 18:36:12 +00:00
Adding support for (optional) trailing commas like this:
import {
Foo,
Bar,
} from "foobar.slint";
This way it's more convenient to keep component imports sorted and
leads to smaller diffs when adding more components to the end of the
import statement.
ChangeLog: Allow trailing comma in import statements
Closes #4922
|
||
|---|---|---|
| .. | ||
| document.rs | ||
| element.rs | ||
| expressions.rs | ||
| statements.rs | ||
| type.rs | ||