mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-25 03:16:01 +00:00
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>();
|
||||
//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
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue