- 04 5月, 2020 6 次提交
-
-
由 Steve Klabnik 提交于
I believe that this is a copy/paste error; this example was using f32, but it's the docs for f64.
-
由 Steve Klabnik 提交于
-
由 Steve Klabnik 提交于
-
由 Steve Klabnik 提交于
-
由 Steve Klabnik 提交于
-
由 Steve Klabnik 提交于
And also point people to use the associated constants of f32 instead.
-
- 03 5月, 2020 2 次提交
-
-
由 ThinkChaos 提交于
-
由 Bastian Kauschke 提交于
-
- 02 5月, 2020 1 次提交
-
-
由 LeSeulArtichaut 提交于
-
- 30 4月, 2020 4 次提交
-
-
由 cohenarthur 提交于
rename-unique: Change calls and doc in raw_vec.rs rename-unique: Change empty() -> dangling() in const-ptr-unique-rpass.rs
-
由 David Freese 提交于
Co-Authored-By: Nkennytm <kennytm@gmail.com>
-
由 David Freese 提交于
The wording was discussed, to a limited degree in #71679. This tries to address some confusion I as well as someone else had independently when looking at this macro. Fixes #71679
-
由 Nicholas Bishop 提交于
The `Eq` link was incorrectly going to the `eq` method of `PartialEq` instead of to the `Eq` trait.
-
- 29 4月, 2020 2 次提交
-
-
由 Bastian Kauschke 提交于
-
由 cohenarthur 提交于
Add documentation example to slice_from_raw_parts_mut() Add SAFETY explanations to some unsafe blocks in libcore/ptr * libcore/ptr/mod.rs * libcore/ptr/unique.rs * libcore/ptr/non_null.rs safety-mod.rs: Add SAFETY to slice_from_raw_parts(), slice_from_raw_parts_mut() slice_from_raw_parts_mut: Add documentation example safety-ptr-unique.rs: Add SAFETY to new() and cast() safety-ptr-non_null.rs: Add SAFETY to new() safety-ptr-non_null.rs: Add SAFETY to cast() safety-ptr-non_null.rs: Add SAFETY to from() impls safety-ptr-unique.rs: Add SAFETY to from() impls safety-ptr-non_null.rs: Add SAFETY to new() safety-ptr-unique.rs: Add SAFETY to new() safety-ptr-mod.rs: Fix safety explanation https://github.com/rust-lang/rust/pull/71507#discussion_r414488884 safety-prt-non_null.rs: Fix SAFETY comment syntax safety-ptr-unique.rs: Fix syntax for empty() safety-ptr-non_null.rs: Fix misuse of non-null for align_of() safety-ptr-non_null.rs: Remove incorrect SAFETY comment safety-ptr-unique.rs: Remove unsound SAFETY comment safety-ptr-mod.rs: Add std comment on slice_from_raw_parts guarantee safety-ptr-unique.rs: Remove incorrect safety comment Creating a Unique from a NonNull has strict guarantees that the current implementation does not guarantee https://github.com/rust-lang/rust/pull/71507#discussion_r415035952 safety-ptr: Re-adding ignore-tidy directive
-
- 28 4月, 2020 1 次提交
-
-
由 Zach Reizner 提交于
-
- 27 4月, 2020 1 次提交
-
-
由 Ralf Jung 提交于
-
- 26 4月, 2020 2 次提交
-
-
由 ThinkChaos 提交于
In the same vein as `Cell::take` and `Option::take`.
-
由 Jonas Platte 提交于
-
- 25 4月, 2020 2 次提交
-
-
由 Mark Rousskov 提交于
-
由 Mark Rousskov 提交于
-
- 24 4月, 2020 6 次提交
-
-
由 Guillaume Gomez 提交于
-
由 LeSeulArtichaut 提交于
-
由 LeSeulArtichaut 提交于
Co-Authored-By: NMark-Simulacrum <mark.simulacrum@gmail.com>
-
由 cohenarthur 提交于
Changed raw pointer name from ptr to raw_pointer to avoid confusion with the `use std::ptr` statement a few lines above. This way the crate name and pointer name are well differenciated.
-
由 Ralf Jung 提交于
-
由 LeSeulArtichaut 提交于
Co-authored-by: NMark-Simulacrum <mark.simulacrum@gmail.com>
-
- 23 4月, 2020 7 次提交
-
-
由 Tyler Ruckinger 提交于
-
由 Tyler Ruckinger 提交于
-
由 Pyfisch 提交于
The feature will become stable in Rust 1.45. Noted that the value of UNICODE_VERSION is expected to change.
-
由 Dylan MacKenzie 提交于
-
由 Amanieu d'Antras 提交于
-
由 Tim Diekmann 提交于
-
由 Tim Diekmann 提交于
-
- 22 4月, 2020 1 次提交
-
-
由 Josh Stone 提交于
Only the "first" iterator is actually set `None` when exhausted, depending on whether you iterate forward or backward. This restores behavior similar to the former `ChainState`, where it would transition from `Both` to `Front`/`Back` and only continue from that side. However, if you mix directions, then this may still set both sides to `None`, totally fusing the iterator.
-
- 21 4月, 2020 5 次提交
-
-
由 Linus Färnstrand 提交于
-
由 Linus Färnstrand 提交于
-
由 Linus Färnstrand 提交于
-
由 CAD97 提交于
-
由 Christopher Durham 提交于
Co-Authored-By: NAmanieu d'Antras <amanieu@gmail.com>
-