]> git.lizzy.rs Git - rust.git/commit
c_str: move `.unwrap` & document it more clearly.
authorHuon Wilson <dbau.pp+github@gmail.com>
Sat, 14 Jun 2014 22:42:55 +0000 (08:42 +1000)
committerHuon Wilson <dbau.pp+github@gmail.com>
Sun, 29 Jun 2014 11:15:26 +0000 (21:15 +1000)
commit569f13a5217f1a699059707b1eccbdefd011ba12
tree1e37ca850020293794366b73bd26a0a4719f2327
parentd4d4bc4fe944c1b0627d104127352046879f9dc0
c_str: move `.unwrap` & document it more clearly.

This should be called rarely, but it was placed first in the list of
methods, making it very tempting to call.
src/librustrt/c_str.rs