aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornotoria2021-06-08 18:34:45 +0000
committerBlaž Hrastnik2021-06-10 13:00:08 +0000
commit9887b1275afb516ffd1ebef8788ed661b703f0ce (patch)
tree2c2d7dfdb67af3ca6f2b143c05aa4b934406cbb5
parent7cc13fefe9bd09ea778a0eb8c26bf133e6ad2476 (diff)
Implement missing Debug and update Cargo.lock
-rw-r--r--Cargo.lock9
-rw-r--r--helix-view/src/register_selection.rs1
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",
]
@@ -992,6 +992,11 @@ 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"
source = "registry+https://github.com/rust-lang/crates.io-index"
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<char>` 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,