Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
3b2b5b2
Remove P: Unpin bound on impl Future for Pin
jonhoo Jan 25, 2021
ac658e1
Merge branch 'master' into no-unpin-in-pin-future-impl
jonhoo May 27, 2021
b5e5a18
Update library/core/src/pin.rs
jonhoo Jun 16, 2021
cf40292
Link tracking issue for pin_deref_mut
jonhoo Jul 6, 2021
8c91805
Stabilize core::task::ready!
yoshuawuyts Jan 15, 2021
ec76b6e
Add support for tuple structs' fields documentation
GuillaumeGomez Jul 25, 2021
19f30b7
Add test for tuple struct documentation fields
GuillaumeGomez Jul 25, 2021
2b79094
Add support for tuple struct fields documentation in enums as well
GuillaumeGomez Jul 25, 2021
fbf78e1
Add test for enum item tuple fields documentation
GuillaumeGomez Jul 25, 2021
beb9bb3
Integrate context into the memorial to Anna
Jul 26, 2021
c4aa735
Add explanations for why we use Variant::Struct instead of Variant::T…
GuillaumeGomez Jul 27, 2021
7f563f7
Add long explanation for E0498
midgleyc Jul 27, 2021
bc70252
Mark code as ignored due to requiring external plugin
midgleyc Jul 27, 2021
40b57be
Don't run MIR unsafeck at all when using `-Zthir-unsafeck`
LeSeulArtichaut Jul 27, 2021
4b5ac09
add CI_ONLY_WHEN_CHANNEL and run x86_64-gnu-stable only on nightly
pietroalbini Jul 28, 2021
18cc06c
Update stable version of ready!() macro.
m-ou-se Jul 28, 2021
387cd6d
Add some doc aliases
D1mon Jul 3, 2021
2d8b6e3
Use backticks when referring to `core::future::Ready` in panic message
ibraheemdev Jul 28, 2021
00198dd
fix example code for E0617
ibraheemdev Jul 24, 2021
fef1725
Rollup merge of #81050 - yoshuawuyts:stabilize-task-ready, r=m-ou-se
JohnTitor Jul 28, 2021
7c1283a
Rollup merge of #81363 - jonhoo:no-unpin-in-pin-future-impl, r=m-ou-se
JohnTitor Jul 28, 2021
87c9f32
Rollup merge of #86839 - D1mon:patch-1, r=JohnTitor
JohnTitor Jul 28, 2021
9222984
Rollup merge of #87435 - ibraheemdev:patch-4, r=JohnTitor
JohnTitor Jul 28, 2021
014e22c
Rollup merge of #87451 - GuillaumeGomez:tuple-struct-field-doc, r=jyn514
JohnTitor Jul 28, 2021
aa301a0
Rollup merge of #87491 - jamesmunns:integrate-memorial, r=Mark-Simula…
JohnTitor Jul 28, 2021
1d5f15f
Rollup merge of #87521 - midgleyc:long-E0498, r=GuillaumeGomez
JohnTitor Jul 28, 2021
9e94d7b
Rollup merge of #87527 - LeSeulArtichaut:no-mir-unsafeck, r=oli-obk
JohnTitor Jul 28, 2021
65003c6
Rollup merge of #87550 - pietroalbini:ci-only-when-channel, r=Mark-Si…
JohnTitor Jul 28, 2021
6c4888a
Rollup merge of #87565 - ibraheemdev:patch-7, r=scottmcm
JohnTitor Jul 28, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add some doc aliases
Add `mkdir` to `create_dir`, `rmdir` to `remove_dir`.
  • Loading branch information
D1mon authored and JohnTitor committed Jul 28, 2021
commit 387cd6dbf67754472b59ab4810a7e15107d86f2b
2 changes: 2 additions & 0 deletions library/std/src/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1912,6 +1912,7 @@ pub fn canonicalize<P: AsRef<Path>>(path: P) -> io::Result<PathBuf> {
/// Ok(())
/// }
/// ```
#[doc(alias = "mkdir")]
#[stable(feature = "rust1", since = "1.0.0")]
pub fn create_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
DirBuilder::new().create(path.as_ref())
Expand Down Expand Up @@ -1991,6 +1992,7 @@ pub fn create_dir_all<P: AsRef<Path>>(path: P) -> io::Result<()> {
/// Ok(())
/// }
/// ```
#[doc(alias = "rmdir")]
#[stable(feature = "rust1", since = "1.0.0")]
pub fn remove_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
fs_imp::rmdir(path.as_ref())
Expand Down