From 12029f4f6795c57a327d4b9f0eed8eaa4f5cf101 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1lyi=20L=C5=91rinc?= Date: Fri, 19 Apr 2024 16:53:31 +0200 Subject: [PATCH] fixed typo in BitSlice::copy_within doc comment --- src/slice/api.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slice/api.rs b/src/slice/api.rs index 6ac0de00..1c7fdc50 100644 --- a/src/slice/api.rs +++ b/src/slice/api.rs @@ -2198,7 +2198,7 @@ where /// Copies a span of bits to another location in the bit-slice. /// - /// `src` is the range of bit-indices in the bit-slice to copy, and `dest is + /// `src` is the range of bit-indices in the bit-slice to copy, and `dest` is /// the starting index of the destination range. `src` and `dest .. dest + /// src.len()` are permitted to overlap; the copy will automatically detect /// and manage this. However, both `src` and `dest .. dest + src.len()`