ajmwagar / bliss

Ignorance is bliss! Ignore your .gitignore
MIT License
153 stars 6 forks source link

Clean up 'if true return true' snippet #4

Closed bengesoff closed 5 years ago

bengesoff commented 5 years ago

Hi - really cool project! Just noticed the following and thought I'd clean it up 😄

if langs.contains(&lang.to_string()) { true } else { false }
ajmwagar commented 5 years ago

Thanks.