Skip to content

Commit cea2bbf

Browse files
committed
Fix grammar
1 parent f0f8be2 commit cea2bbf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/doc/grammar.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ binop_expr : expr binop expr ;
568568
The precedence of Rust binary operators is ordered as follows, going from
569569
strong to weak:
570570

571-
```
571+
```text
572572
* / %
573573
as
574574
+ -

src/doc/trpl/ffi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ fn main() {
439439
unsafe {
440440
rl_prompt = prompt.as_ptr();
441441
442-
println!("{}", rl_prompt);
442+
println!("{:?}", rl_prompt);
443443
444444
rl_prompt = ptr::null();
445445
}

0 commit comments

Comments
 (0)