ryanmcgrath / alchemy

An experimental GUI framework for Rust, backed by per-platform native widgets. React, AppKit/UIKit inspired. EXPERIMENTAL, runs on Cocoa right now. ;P
https://alchemy.rs/
MIT License
384 stars 7 forks source link

Updates for recent versions of Rust. #2

Open simlay opened 5 years ago

simlay commented 5 years ago

Hi friend,

I came across your project today and found it neat so I cloned the repo and messed around with it. Here's some of the updates I found to make clippy and the recent stable version of rust happy.

Here's the brief summary of changes:

There's still a bunch of unused code warnings but I figure this is still a WIP so I didn't touch those.

The reason there's so many changes is because I removed (most) unused whitespace. If you're unhappy with that, I'm okay with reverting that.

Also, I notice that the contributing guidelines mention running cargo fmt --all. I ran this after my changes and it resulted in 1423 deletions and 2139 additions.

Let me know if there's anything you'd like me to change.

Thanks,