cunarist / rinf

Rust for native business logic, Flutter for flexible and beautiful GUI
MIT License
1.82k stars 64 forks source link

Make `get_dart_signal_receiver` return `Result` #380

Closed temeddix closed 2 months ago

temeddix commented 2 months ago

Changes

This PR completely removes unwrap and expect from the codebase. As a consequence, get_dart_signal_receiver returns Result.

Before Committing

Please make sure that you've analyzed and formatted the files.

dart analyze flutter_ffi_plugin --fatal-infos
dart format .
cargo fmt
cargo clippy --fix --allow-dirty