about summary refs log tree commit diff
path: root/src/libstd/io/error.rs
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-03-12 14:04:52 -0400
committerCorey Farwell <coreyf@rwell.org>2017-03-13 21:43:18 -0400
commite7b0f2badf7c3393f1b36339b121054d05353442 (patch)
treecd709cc658db27ae58ae7df64ca76d22eeef7952 /src/libstd/io/error.rs
parentf88b24b34c6d17ebe4014bec5a0f7c2a57c529c7 (diff)
downloadrust-e7b0f2badf7c3393f1b36339b121054d05353442.tar.gz
rust-e7b0f2badf7c3393f1b36339b121054d05353442.zip
Remove function invokation parens from documentation links.
This was never established as a convention we should follow in the 'More
API Documentation Conventions' RFC:

https://github.com/rust-lang/rfcs/blob/master/text/1574-more-api-documentation-conventions.md
Diffstat (limited to 'src/libstd/io/error.rs')
-rw-r--r--src/libstd/io/error.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/io/error.rs b/src/libstd/io/error.rs
index 6d4da2e6a88..fb67eaf3c63 100644
--- a/src/libstd/io/error.rs
+++ b/src/libstd/io/error.rs
@@ -140,13 +140,13 @@ pub enum ErrorKind {
     #[stable(feature = "rust1", since = "1.0.0")]
     TimedOut,
     /// An error returned when an operation could not be completed because a
-    /// call to [`write()`] returned [`Ok(0)`].
+    /// call to [`write`] returned [`Ok(0)`].
     ///
     /// This typically means that an operation could only succeed if it wrote a
     /// particular number of bytes but only a smaller number of bytes could be
     /// written.
     ///
-    /// [`write()`]: ../../std/io/trait.Write.html#tymethod.write
+    /// [`write`]: ../../std/io/trait.Write.html#tymethod.write
     /// [`Ok(0)`]: ../../std/io/type.Result.html
     #[stable(feature = "rust1", since = "1.0.0")]
     WriteZero,