From 1225106ddcca506a1832cc756484836fff6b3b6f Mon Sep 17 00:00:00 2001 From: Audrey Dutcher Date: Sat, 14 Jan 2023 10:28:34 -0700 Subject: [PATCH] Fix docs --- src/buffer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/buffer.rs b/src/buffer.rs index f84cebb..1982085 100644 --- a/src/buffer.rs +++ b/src/buffer.rs @@ -19,8 +19,8 @@ pub struct Cursor { pub line: usize, /// First-byte-index of glyph at cursor (will insert behind this glyph) pub index: usize, - /// Whether to associate the cursor with the run before it (false) or the run after it (true) - /// if placed at the boundary between two runs + /// Whether to associate the cursor with the run before it or the run after it if placed at the + /// boundary between two runs pub affinity: Affinity, }