diff options
| author | Tobias Bucher <tobiasbucher5991@gmail.com> | 2025-01-09 10:31:03 +0100 |
|---|---|---|
| committer | Tobias Bucher <tobiasbucher5991@gmail.com> | 2025-06-05 16:27:28 +0200 |
| commit | 4b1e28b21f78491d4ae187a52ebd5436edef6281 (patch) | |
| tree | 3a7cb8f7b6da75425a65276bf040e2a0a149757c /library/std/src/io/mod.rs | |
| parent | fde8a8d518e3bd9124bfe4028e3c45f7dcf34593 (diff) | |
| download | rust-4b1e28b21f78491d4ae187a52ebd5436edef6281.tar.gz rust-4b1e28b21f78491d4ae187a52ebd5436edef6281.zip | |
Clarify description of `Seek::stream_len`
It can only describe the inner workings of the default implementation, other implementations might not be implemented using seeks at all.
Diffstat (limited to 'library/std/src/io/mod.rs')
| -rw-r--r-- | library/std/src/io/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/io/mod.rs b/library/std/src/io/mod.rs index 859f189a6c8..20c82b64bcc 100644 --- a/library/std/src/io/mod.rs +++ b/library/std/src/io/mod.rs @@ -2028,7 +2028,7 @@ pub trait Seek { /// Returns the length of this stream (in bytes). /// - /// This method is implemented using up to three seek operations. If this + /// The default implementation uses up to three seek operations. If this /// method returns successfully, the seek position is unchanged (i.e. the /// position before calling this method is the same as afterwards). /// However, if this method returns an error, the seek position is |
