Skip to content

Commit

Permalink
WIP docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cberner committed Sep 28, 2024
1 parent ed5f0f3 commit 7bbdf0e
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions library/std/src/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,13 @@ impl File {
/// unspecified and platform dependent. It may deadlock, it may convert the lock from shared to
/// exclusive or vice versa, but the requested lock will be held if the function returns.
///
/// [`lock_shared`]: File::lock_shared
/// [`try_lock`]: File::try_lock
/// [`try_lock_shared`]: File::try_lock_shared
/// [`unlock`]: File::unlock
/// [`read`]: Read::read
/// [`write`]: Write::write
///
/// # Examples
///
/// ```no_run
Expand Down Expand Up @@ -574,6 +581,13 @@ impl File {
/// unspecified and platform dependent. It may deadlock, it may convert the lock from shared to
/// exclusive or vice versa, but the requested lock will be held if the function returns.
///
/// [`lock`]: File::lock
/// [`try_lock`]: File::try_lock
/// [`try_lock_shared`]: File::try_lock_shared
/// [`unlock`]: File::unlock
/// [`read`]: Read::read
/// [`write`]: Write::write
///
/// # Examples
///
/// ```no_run
Expand Down Expand Up @@ -602,6 +616,13 @@ impl File {
/// unspecified and platform dependent. It may deadlock, it may convert the lock from shared to
/// exclusive or vice versa, but the requested lock will be held if the function returns.
///
/// [`lock`]: File::lock
/// [`lock_shared`]: File::lock_shared
/// [`try_lock_shared`]: File::try_lock_shared
/// [`unlock`]: File::unlock
/// [`read`]: Read::read
/// [`write`]: Write::write
///
/// # Examples
///
/// ```no_run
Expand Down Expand Up @@ -630,6 +651,13 @@ impl File {
/// unspecified and platform dependent. It may deadlock, it may convert the lock from shared to
/// exclusive or vice versa, but the requested lock will be held if the function returns.
///
/// [`lock`]: File::lock
/// [`lock_shared`]: File::lock_shared
/// [`try_lock`]: File::try_lock
/// [`unlock`]: File::unlock
/// [`read`]: Read::read
/// [`write`]: Write::write
///
/// # Examples
///
/// ```no_run
Expand Down

0 comments on commit 7bbdf0e

Please sign in to comment.