security-union / videocall-rs

teleconference system written in rust
https://www.videocall.rs
MIT License
1.38k stars 119 forks source link

Clean up some unused variable and unused result warnings #136

Closed ronen closed 1 year ago

ronen commented 1 year ago

Kinda following up from #130...

Switch from .map_err().and_then() to match { }

This eliminates warnings about unused variables/result. Also I think makes it easier to read.

Also switch from .and_then(... Ok()) to .map() to be a little cleaner.