aisk / rust-memcache

memcache client for rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rename memcache::Client::new to something else

aisk opened this issue · comments

Clippy complains new should return the struct self, so we should rename new to connect or open(which redis-rs uses).

For backward compatibility, the new function should be kept for some versions, and should marked ad deprecated.