From c4fe78176334bcf23f0f3387cfcdf040a9316e61 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Thu, 6 Nov 2014 10:19:53 -0500 Subject: [PATCH] link to raw string docs in libregex docs Fixes #17023 --- src/libregex/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libregex/lib.rs b/src/libregex/lib.rs index f3633a006b1..b849afbbf54 100644 --- a/src/libregex/lib.rs +++ b/src/libregex/lib.rs @@ -41,7 +41,8 @@ //! it to match anywhere in the text. Anchors can be used to ensure that the //! full text matches an expression. //! -//! This example also demonstrates the utility of raw strings in Rust, which +//! This example also demonstrates the utility of [raw +//! strings](../reference.html#character-and-string-literals) in Rust, which //! are just like regular strings except they are prefixed with an `r` and do //! not process any escape sequences. For example, `"\\d"` is the same //! expression as `r"\d"`.