libs: doc comments
This commit is contained in:
parent
b87363e763
commit
99ed06eb88
102 changed files with 394 additions and 387 deletions
|
@ -1219,11 +1219,11 @@ pub trait Seek {
|
|||
#[derive(Copy, PartialEq, Eq, Clone, Debug)]
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
pub enum SeekFrom {
|
||||
/// Set the offset to the provided number of bytes.
|
||||
/// Sets the offset to the provided number of bytes.
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
Start(#[stable(feature = "rust1", since = "1.0.0")] u64),
|
||||
|
||||
/// Set the offset to the size of this object plus the specified number of
|
||||
/// Sets the offset to the size of this object plus the specified number of
|
||||
/// bytes.
|
||||
///
|
||||
/// It is possible to seek beyond the end of an object, but it's an error to
|
||||
|
@ -1231,7 +1231,7 @@ pub enum SeekFrom {
|
|||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
End(#[stable(feature = "rust1", since = "1.0.0")] i64),
|
||||
|
||||
/// Set the offset to the current position plus the specified number of
|
||||
/// Sets the offset to the current position plus the specified number of
|
||||
/// bytes.
|
||||
///
|
||||
/// It is possible to seek beyond the end of an object, but it's an error to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue