diff options
| author | bors <bors@rust-lang.org> | 2014-04-18 04:11:19 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-04-18 04:11:19 -0700 |
| commit | ce2bab68d69ee04e17c0165dbdb7b583d5a7c991 (patch) | |
| tree | addec7ff5238ab59b8510d2fe6fb679a8dd07a79 /src/libsyntax/codemap.rs | |
| parent | d35804ea5e69c9a3a8957626533a856f976fe4e3 (diff) | |
| parent | 58ae1e7c625491e9eceebdc9120ff009361106fa (diff) | |
| download | rust-ce2bab68d69ee04e17c0165dbdb7b583d5a7c991.tar.gz rust-ce2bab68d69ee04e17c0165dbdb7b583d5a7c991.zip | |
auto merge of #13585 : brandonw/rust/patch-1, r=cmr
The original text stated that one should only return a unique or managed pointer if you were given one in the first place. This makes it sound as if the function *should* return a unique pointer if it were given a unique pointer. The rest of the section goes on to describe why this is bad, and the example of bad code does exactly what the rule just said to do. I reworded the original rule into a reference to the more concise rule mentioned at the bottom of the section, which helps add emphasis (a la 'it bears repeating').
Diffstat (limited to 'src/libsyntax/codemap.rs')
0 files changed, 0 insertions, 0 deletions
