line breaks
This commit is contained in:
parent
93822bd2a2
commit
14241c8d14
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user