]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #23468 - sfackler:stdio-panic, r=alexcrichton
authorManish Goregaokar <manishsmail@gmail.com>
Thu, 19 Mar 2015 00:38:43 +0000 (06:08 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Thu, 19 Mar 2015 02:54:36 +0000 (08:24 +0530)
commitc7392be96865c9e0717a73a4d4d4242d87232a5b
treeae5a43850d33303c0904863474a7940a02cae69f
parent05354e852235c97d5231d71aeed75114fc55b59f
parenta51cd6116446d74a336abcb00f5ced3582ec307f
Rollup merge of #23468 - sfackler:stdio-panic, r=alexcrichton

 Nothing inside of the read/write interface itself can panic, so any
poison must have been the result of user code which the lock isn't
protecting.

This seems safe to me, but if we don't want to go this route we should update the docs to indicate that these methods can panic.

r? @alexcrichton