thruster-rs / Thruster

A fast, middleware based, web framework written in Rust
MIT License
1.06k stars 47 forks source link

ThrusterServer::start -> ThrusterServer::build #135

Closed vorot93 closed 4 years ago

trezm commented 4 years ago

@vorot93 I think you might have missed my earlier comment about keeping start around and simply calling into build in the method body:

Instead of swapping out start for build, let's have start call build instead. Having a dead simple way to start the server is still an important feature.

Could you update that as well?

vorot93 commented 4 years ago

Actually, it’s what it does now as a predefined trait method.

trezm commented 4 years ago

Didn't notice that -- that's awesome!! LGTM 👍