From 45fadf61518b36c2e020f7262f136588dc96b03e Mon Sep 17 00:00:00 2001 From: Omnikar Date: Thu, 28 Oct 2021 20:55:15 -0400 Subject: Add hyperlinks to fix `cargo doc` warn (#931) --- helix-core/src/graphemes.rs | 2 +- helix-core/src/history.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/helix-core/src/graphemes.rs b/helix-core/src/graphemes.rs index 56f5bacb..c6398875 100644 --- a/helix-core/src/graphemes.rs +++ b/helix-core/src/graphemes.rs @@ -1,6 +1,6 @@ //! Utility functions to traverse the unicode graphemes of a `Rope`'s text contents. //! -//! Based on https://github.com/cessen/led/blob/c4fa72405f510b7fd16052f90a598c429b3104a6/src/graphemes.rs +//! Based on use ropey::{iter::Chunks, str_utils::byte_to_char_idx, RopeSlice}; use unicode_segmentation::{GraphemeCursor, GraphemeIncomplete}; use unicode_width::UnicodeWidthStr; diff --git a/helix-core/src/history.rs b/helix-core/src/history.rs index cf62708a..b53c01fe 100644 --- a/helix-core/src/history.rs +++ b/helix-core/src/history.rs @@ -40,7 +40,7 @@ use std::time::{Duration, Instant}; /// * Because delete transactions currently don't store the text that they /// delete, we also store an inversion of the transaction. /// -/// Using time to navigate the history: https://github.com/helix-editor/helix/pull/194 +/// Using time to navigate the history: #[derive(Debug)] pub struct History { revisions: Vec, -- cgit v1.2.3-70-g09d2