line breaks

This commit is contained in:
NikVolf 2016-04-12 13:05:13 +03:00
parent 93822bd2a2
commit 14241c8d14

View File

@ -30,9 +30,11 @@ pub trait IpcConfig {
fn api_version() -> Version { fn api_version() -> Version {
Version::parse("1.0.0").unwrap() Version::parse("1.0.0").unwrap()
} }
fn protocol_version() -> Version { fn protocol_version() -> Version {
Version::parse("1.0.0").unwrap() Version::parse("1.0.0").unwrap()
} }
fn handshake(handshake: &Handshake) -> bool { fn handshake(handshake: &Handshake) -> bool {
handshake.protocol_version == Self::protocol_version() && handshake.protocol_version == Self::protocol_version() &&
handshake.api_version == Self::api_version() handshake.api_version == Self::api_version()