about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2016-03-26 20:35:49 +0530
committerManish Goregaokar <manishsmail@gmail.com>2016-03-26 20:35:49 +0530
commit2c4d039b762f5fc9e1d3340196dc2ca05d9bf104 (patch)
tree1b6ba2e6cb33a2c349c9fc92c5749cd57dbc1e2e /src/rustllvm/RustWrapper.cpp
parentdcfcbaa009799e6c74dbbe0f116105ea71cf22d5 (diff)
parent6ce63fb3f1bf37004868f79beacb180283c0750e (diff)
downloadrust-2c4d039b762f5fc9e1d3340196dc2ca05d9bf104.tar.gz
rust-2c4d039b762f5fc9e1d3340196dc2ca05d9bf104.zip
Rollup merge of #32478 - xevix:docs/strings-str-unsized-types, r=steveklabnik
Add note on `str` being an unsized type in strings section of book

The book section on Rust strings mentions `&str` and `String` but does not address why `str` is not used directly. This adds a short blurb and a link to the unsized types chapter. The second draft of the book will go more in-depth on this, but this should help a bit for now. Thanks #rust for clarifying this point, and let me know if it needs rewording or different placement :smile:.

CC @steveklabnik @Kimundi
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions