slint/tools/updater
Yuri Astrakhan 05f4fc0cde Auto-fixed clippy::needless_return
`__CARGO_FIX_YOLO=1` is a hack, but it does help a lot with the tedious fixes where the result is fairly clear.

See https://rust-lang.github.io/rust-clippy/master/index.html#needless_return

```
__CARGO_FIX_YOLO=1 cargo clippy --fix --all-targets --workspace --exclude gstreamer-player --exclude i-slint-backend-linuxkms --exclude uefi-demo --exclude ffmpeg -- -A clippy::all -W clippy::needless_return

cargo fmt --all
```
2025-02-07 09:46:49 +01:00
..
experiments Auto-fixed clippy::needless_return 2025-02-07 09:46:49 +01:00
transforms Auto-fixed clippy::unnecessary_map_or 2025-02-07 09:02:31 +01:00
Cargo.toml Use SmolStr in more places of the compiler infrastructure 2024-10-17 18:04:58 +02:00
main.rs Auto-fixed clippy::needless_return 2025-02-07 09:46:49 +01:00
README.md Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00

Slint Updater

This program is a tool to upgrade .slint files from the Slint Project to the latest syntax.

The Slint Design Language evolves, with new features being added and old ones marked for deprecation. Use this tool to automatically upgrade your .slint files to the latest syntax.

Installation

The updater can be installed from crates.io:

cargo install slint-updater

Usage:

slint-updater -i /path/to/my/app/ui/**/*.slint