diff --git a/performance/src/application.rs b/performance/src/application.rs index 3246920..c3e77ce 100644 --- a/performance/src/application.rs +++ b/performance/src/application.rs @@ -220,7 +220,7 @@ pub trait ApplicationLayer: Sized { /// the update could not be made. /// The implementor is free to choose how to apply these updates to storage. /// - /// If this returns `Err(IoError)`, the packet which triggered this function to be called will be + /// If this returns `Err(())`, the packet which triggered this function to be called will be /// dropped, and no session state will be mutated, preserving synchronization. The remote peer /// will eventually resend that packet and so this function will be called again. /// diff --git a/performance/src/zeta.rs b/performance/src/zeta.rs index 5c74fdb..cf038ce 100644 --- a/performance/src/zeta.rs +++ b/performance/src/zeta.rs @@ -651,7 +651,7 @@ pub(crate) fn received_x2_trans