From 9887b1275afb516ffd1ebef8788ed661b703f0ce Mon Sep 17 00:00:00 2001 From: notoria Date: Tue, 8 Jun 2021 20:34:45 +0200 Subject: [PATCH] Implement missing Debug and update Cargo.lock --- Cargo.lock | 9 +++++++-- helix-view/src/register_selection.rs | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6d51546a..b089ac56 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -266,7 +266,7 @@ dependencies = [ "toml", "tree-sitter", "unicode-general-category", - "unicode-segmentation", + "unicode-segmentation 1.7.1 (git+https://github.com/unicode-rs/unicode-segmentation.git)", "unicode-width", ] @@ -332,7 +332,7 @@ dependencies = [ "cassowary", "crossterm", "serde", - "unicode-segmentation", + "unicode-segmentation 1.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "unicode-width", ] @@ -991,6 +991,11 @@ version = "1.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bb0d2e7be6ae3a5fa87eed5fb451aff96f2573d2694942e40543ae0bbe19c796" +[[package]] +name = "unicode-segmentation" +version = "1.7.1" +source = "git+https://github.com/unicode-rs/unicode-segmentation.git#58d73acf0e92f9806619fa79c3138dd410bca216" + [[package]] name = "unicode-width" version = "0.1.8" diff --git a/helix-view/src/register_selection.rs b/helix-view/src/register_selection.rs index d7f073b6..a2b78f72 100644 --- a/helix-view/src/register_selection.rs +++ b/helix-view/src/register_selection.rs @@ -3,6 +3,7 @@ /// This is a kind a of specialized `Option` for register selection. /// Point is to keep whether the register selection has been explicitely /// set or not while being convenient by knowing the default register name. +#[derive(Debug)] pub struct RegisterSelection { selected: char, default_name: char,