Bump protocol version back down as proto changes are non-breaking

This commit is contained in:
Julia 2022-11-23 13:33:30 -05:00
parent a666ca3e40
commit 03cfd23ac5
3 changed files with 1 additions and 3 deletions

View file

@ -1755,7 +1755,6 @@ impl MultiBufferSnapshot {
}
let mut cursor = self.excerpts.cursor::<PointUtf16>();
//Cannot not panic if out of bounds as it will just not reach the target position
cursor.seek(&point.0, Bias::Right, &());
let overshoot = if let Some(excerpt) = cursor.item() {
let excerpt_start = excerpt

View file

@ -357,7 +357,6 @@ pub fn deserialize_diagnostics(
.collect()
}
//TODO: Deserialize anchors into `Unclipped<Anchor>`?
pub fn deserialize_anchor(anchor: proto::Anchor) -> Option<Anchor> {
Some(Anchor {
timestamp: clock::Local {

View file

@ -6,4 +6,4 @@ pub use conn::Connection;
pub use peer::*;
mod macros;
pub const PROTOCOL_VERSION: u32 = 40;
pub const PROTOCOL_VERSION: u32 = 39;