浏览代码

Fix multi-line slash in doc.

bentleyjoakes 5 年之前
父节点
当前提交
aa3fc92ef4
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      doc/new_language.rst

+ 2 - 2
doc/new_language.rst

@@ -189,7 +189,7 @@ As a local constraint:
 
 .. image:: img/local_constraint.png
 
-.. warning:: Multi-line local constraints need to have each line end with ``\\``.
+.. warning:: Multi-line local constraints need to have each line end with ``\``.
 
 One disadvantage of this constraint is that the minimum number of instances (also 1) is not checked. A global constraint solves this:
 
@@ -211,7 +211,7 @@ As a local action:
 
 .. image:: img/local_action.png
 
-.. warning:: Multi-line local actions need to have each line end with "\\".
+.. warning:: Multi-line local actions need to have each line end with ``\``.
 
 As a global action: