Skip to content

Commit 74e1b1a

Browse files
committed
clarify rule about subscripts in binding names
1 parent 2407d0c commit 74e1b1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/tutorial.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ fn TutorialBindings() -> impl IntoView {
656656
<Editor example="Variable_1 ← 5"/> // Should fail
657657
<p>"Bindings "<em>"can"</em>" contain subscript numbers. These will format from "<code>","</code>" followed by some digits. Try formatting the example below!"</p>
658658
<Editor example="X,1 = 5\nSha,256 = \"TODO\""/>
659-
<p>"Subscripts are only allowed at the end of a binding name."</p>
659+
<p>"Subscripts in binding names are only allowed at the end."</p>
660660
<p><strong>"Bindings are case-sensitive."</strong></p>
661661
<p>"The parser can sometimes mistake all-lowercase binding names for unformatted built-in functions."</p>
662662
<p>"Here, the parser thinks that "<code>"part"</code>" is "<Prim prim=Partition/>"."</p>

0 commit comments

Comments
 (0)