Skip to content

Commit

Permalink
Docs: clarify return value of std::io::Seek::seek
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSapin committed Aug 2, 2015
1 parent f7b3cd3 commit 7b2dd1f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/libstd/io/mod.rs
Expand Up @@ -1060,8 +1060,9 @@ pub trait Seek {
/// The behavior when seeking past the end of the stream is implementation
/// defined.
///
/// This method returns the new position within the stream if the seek
/// operation completed successfully.
/// If the seek operation completed successfully,
/// this method returns the new position from the start of the stream.
/// That position can be used later with `SeekFrom::Start`.
///
/// # Errors
///
Expand Down

0 comments on commit 7b2dd1f

Please sign in to comment.