about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJan Likar <likar.jan@gmail.com>2015-11-15 14:21:13 +0100
committerJan Likar <likar.jan@gmail.com>2015-11-15 14:21:13 +0100
commit8bcbcae86686e112e63049c856b9d19f37079580 (patch)
tree12ba0730ecbee7d015a425d466aaa7e0c69c7c41 /src
parent235aca56b5f3e7d479e3cbaa9dc8a1402cfbca0f (diff)
downloadrust-8bcbcae86686e112e63049c856b9d19f37079580.tar.gz
rust-8bcbcae86686e112e63049c856b9d19f37079580.zip
Fix a typo
Diffstat (limited to 'src')
-rw-r--r--src/doc/trpl/strings.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/strings.md b/src/doc/trpl/strings.md
index 00c12bdca51..42a0acd21a2 100644
--- a/src/doc/trpl/strings.md
+++ b/src/doc/trpl/strings.md
@@ -19,7 +19,7 @@ size, and cannot be mutated. It is a reference to a sequence of UTF-8 bytes.
 let greeting = "Hello there."; // greeting: &'static str
 ```
 
-`"Hello there."` is a string literal and its type is `&'static str`. String
+`"Hello there."` is a string literal and its type is `&'static str`. A string
 literal is a string slice that is statically allocated, meaning that it’s saved
 inside our compiled program, and exists for the entire duration it runs. The
 `greeting` binding is a reference to this statically allocated string. Any