]> git.lizzy.rs Git - rust.git/commitdiff
Make all leaks safe in language reference
authordiwic <diwic@users.noreply.github.com>
Sun, 7 Jun 2015 21:14:01 +0000 (23:14 +0200)
committerdiwic <diwic@users.noreply.github.com>
Sun, 7 Jun 2015 21:14:01 +0000 (23:14 +0200)
Since it was determined that no leaks were unsafe, some of the documentation is still not clear about this. Here's one example.

src/doc/reference.md

index d56ecb360cfed3ccd675813feaee24f0b7547518..6264e467886f311c0635231b42daead0a0aa5544 100644 (file)
@@ -1038,7 +1038,7 @@ be undesired.
 
 * Deadlocks
 * Reading data from private fields (`std::repr`)
-* Leaks due to reference count cycles, even in the global heap
+* Leaks of memory and other resources
 * Exiting without calling destructors
 * Sending signals
 * Accessing/modifying the file system