diff options
author | nafg <naftoligug@gmail.com> | 2015-04-24 04:54:01 -0400 |
---|---|---|
committer | nafg <naftoligug@gmail.com> | 2015-04-24 04:54:01 -0400 |
commit | 7385a84bb9b3c71d5a7a78de94f23f836ecc3a61 (patch) | |
tree | 0fa51ce6d212d8ff8982d6594e0fd6b49ee6b11f /src/asm | |
parent | d030172d7ef807d85391d32c5456b1b97b15a402 (diff) | |
download | scala-7385a84bb9b3c71d5a7a78de94f23f836ecc3a61.tar.gz scala-7385a84bb9b3c71d5a7a78de94f23f836ecc3a61.tar.bz2 scala-7385a84bb9b3c71d5a7a78de94f23f836ecc3a61.zip |
Fix scaladoc of Try#failed
The documentation stated that it returns a Success[Throwable] regardless, either containing the failure or an UnsupportedOperationException. However only Failure#failed returns a success; Success#failed returns a Failure.
Also the phrasing of "Completes this `Try`" and "that `Try` failed with" sounds like it was copy-pasted from Future? Trys don't complete, nor fail, they are immutable.
Diffstat (limited to 'src/asm')
0 files changed, 0 insertions, 0 deletions