mirror of
https://github.com/OMGeeky/tarpc.git
synced 2026-01-01 17:14:32 +01:00
Update Cargo.toml to use crates.io releases of tokio deps.
This commit is contained in:
@@ -39,7 +39,7 @@ impl Error for NoNameGiven {
|
||||
struct HelloServer;
|
||||
|
||||
impl SyncService for HelloServer {
|
||||
fn hello(&mut self, name: String) -> Result<String, NoNameGiven> {
|
||||
fn hello(&self, name: String) -> Result<String, NoNameGiven> {
|
||||
if name == "" {
|
||||
Err(NoNameGiven)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user