Bump protocol version back down as proto changes are non-breaking
This commit is contained in:
parent
a666ca3e40
commit
03cfd23ac5
3 changed files with 1 additions and 3 deletions
|
@ -1755,7 +1755,6 @@ impl MultiBufferSnapshot {
|
||||||
}
|
}
|
||||||
|
|
||||||
let mut cursor = self.excerpts.cursor::<PointUtf16>();
|
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, &());
|
cursor.seek(&point.0, Bias::Right, &());
|
||||||
let overshoot = if let Some(excerpt) = cursor.item() {
|
let overshoot = if let Some(excerpt) = cursor.item() {
|
||||||
let excerpt_start = excerpt
|
let excerpt_start = excerpt
|
||||||
|
|
|
@ -357,7 +357,6 @@ pub fn deserialize_diagnostics(
|
||||||
.collect()
|
.collect()
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO: Deserialize anchors into `Unclipped<Anchor>`?
|
|
||||||
pub fn deserialize_anchor(anchor: proto::Anchor) -> Option<Anchor> {
|
pub fn deserialize_anchor(anchor: proto::Anchor) -> Option<Anchor> {
|
||||||
Some(Anchor {
|
Some(Anchor {
|
||||||
timestamp: clock::Local {
|
timestamp: clock::Local {
|
||||||
|
|
|
@ -6,4 +6,4 @@ pub use conn::Connection;
|
||||||
pub use peer::*;
|
pub use peer::*;
|
||||||
mod macros;
|
mod macros;
|
||||||
|
|
||||||
pub const PROTOCOL_VERSION: u32 = 40;
|
pub const PROTOCOL_VERSION: u32 = 39;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue