summaryrefslogtreecommitdiff
path: root/doc/markup/inline.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/markup/inline.rst')
-rw-r--r--doc/markup/inline.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/markup/inline.rst b/doc/markup/inline.rst
index bb1ed68e..4453ab00 100644
--- a/doc/markup/inline.rst
+++ b/doc/markup/inline.rst
@@ -260,7 +260,7 @@ in a different style:
.. rst:role:: samp
A piece of literal text, such as code. Within the contents, you can use
- curly braces to indicate a "variable" part, as in :rst:dir:`file`. For
+ curly braces to indicate a "variable" part, as in :rst:role:`file`. For
example, in ``:samp:`print 1+{variable}```, the part ``variable`` would be
emphasized.