summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmnikar2021-10-29 00:55:15 +0000
committerGitHub2021-10-29 00:55:15 +0000
commit45fadf61518b36c2e020f7262f136588dc96b03e (patch)
treeb8b5328c6342dc3a211141cebb22fe8eac43d721
parent58b8100751059d34602800d8ebd5a511775b4731 (diff)
Add hyperlinks to fix `cargo doc` warn (#931)
-rw-r--r--helix-core/src/graphemes.rs2
-rw-r--r--helix-core/src/history.rs2
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 <https://github.com/cessen/led/blob/c4fa72405f510b7fd16052f90a598c429b3104a6/src/graphemes.rs>
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: <https://github.com/helix-editor/helix/pull/194>
#[derive(Debug)]
pub struct History {
revisions: Vec<Revision>,