on master help sign in
Implement missing Debug and update Cargo.lock
commit9887b1275afb516ffd1ebef8788ed661b703f0ce authornotoria <notoria@users.noreply.github.com> dateTue 8 Jun 2021, 20:34 (5 years ago) parent7cc13fe
2 files changed+8−2
Cargo.lock+7−2 helix-view/src/register_selection.rs+1
Cargo.lock+7−2
@@ -266,7 +266,7 @@ dependencies = [
266266 "toml",
267267 "tree-sitter",
268268 "unicode-general-category",
269− "unicode-segmentation",
269+ "unicode-segmentation 1.7.1 (git+https://github.com/unicode-rs/unicode-segmentation.git)",
270270 "unicode-width",
271271]
272272
@@ -332,7 +332,7 @@ dependencies = [
332332 "cassowary",
333333 "crossterm",
334334 "serde",
335− "unicode-segmentation",
335+ "unicode-segmentation 1.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
336336 "unicode-width",
337337]
338338
@@ -991,6 +991,11 @@ version = "1.7.1"
991991source = "registry+https://github.com/rust-lang/crates.io-index"
992992checksum = "bb0d2e7be6ae3a5fa87eed5fb451aff96f2573d2694942e40543ae0bbe19c796"
993993
994+[[package]]
995+name = "unicode-segmentation"
996+version = "1.7.1"
997+source = "git+https://github.com/unicode-rs/unicode-segmentation.git#58d73acf0e92f9806619fa79c3138dd410bca216"
998+
994999[[package]]
9951000name = "unicode-width"
9961001version = "0.1.8"
helix-view/src/register_selection.rs+1
@@ -3,6 +3,7 @@
33/// This is a kind a of specialized `Option<char>` for register selection.
44/// Point is to keep whether the register selection has been explicitely
55/// set or not while being convenient by knowing the default register name.
6+#[derive(Debug)]
67pub struct RegisterSelection {
78 selected: char,
89 default_name: char,