From 0545880bea4728f893eda1569ca83a37b2d4cd35 Mon Sep 17 00:00:00 2001 From: Jonathan Reem Date: Thu, 12 Feb 2015 02:20:55 -0800 Subject: [PATCH] Change the docs of raw::Slice to clarify what a slice is Fixes #22214 --- src/libcore/raw.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/raw.rs b/src/libcore/raw.rs index 3fd244b46e30f..f479038650504 100644 --- a/src/libcore/raw.rs +++ b/src/libcore/raw.rs @@ -21,7 +21,7 @@ use marker::Copy; use mem; -/// The representation of a Rust slice +/// The representation of a Rust slice (`&[T]`) #[repr(C)] pub struct Slice { pub data: *const T,