1
Fork 0
rust/library/core
Jack Huey 2bbcf929c6
Rollup merge of #88648 - kpreid:option, r=Mark-Simulacrum
Correct “copies” to “moves” in `<Option<T> as From<T>>::from` doc, and other copyediting

The `impl<T> From<T> for Option<T>` has no `Copy` or `Clone` bound, so its operation is guaranteed to be a move. The call site might copy, but the function itself cannot.

Since that would have been a rather small PR, I also reviewed the other documentation in the file and made other improvements (in separate commits): adding periods and commas, linking `Deref::Target`, and clarifying what "a container" is in `FromIterator`.
2021-09-08 12:24:18 -04:00
..
benches Use HTTPS links where possible 2021-06-23 16:26:46 -04:00
src Rollup merge of #88648 - kpreid:option, r=Mark-Simulacrum 2021-09-08 12:24:18 -04:00
tests Change return type for T::{log,log2,log10} to u32. The value is at 2021-09-05 17:09:21 +02:00
Cargo.toml rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00