diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-02-15 22:20:38 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-02-16 03:56:52 +0530 |
| commit | cea2bbfe27707becaacad1ce64b835b408c0ccf8 (patch) | |
| tree | 1951ddaed4c60868e9f1bfe148ca5a84448d53b8 /src | |
| parent | f0f8be2a2e0aab2efef42208e19886790a0742f5 (diff) | |
| download | rust-cea2bbfe27707becaacad1ce64b835b408c0ccf8.tar.gz rust-cea2bbfe27707becaacad1ce64b835b408c0ccf8.zip | |
Fix grammar
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/grammar.md | 2 | ||||
| -rw-r--r-- | src/doc/trpl/ffi.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/grammar.md b/src/doc/grammar.md index 9124328b8ee..d7a29ea5309 100644 --- a/src/doc/grammar.md +++ b/src/doc/grammar.md @@ -568,7 +568,7 @@ binop_expr : expr binop expr ; The precedence of Rust binary operators is ordered as follows, going from strong to weak: -``` +```text * / % as + - diff --git a/src/doc/trpl/ffi.md b/src/doc/trpl/ffi.md index 5375a8aa46b..f2b95f19edc 100644 --- a/src/doc/trpl/ffi.md +++ b/src/doc/trpl/ffi.md @@ -439,7 +439,7 @@ fn main() { unsafe { rl_prompt = prompt.as_ptr(); - println!("{}", rl_prompt); + println!("{:?}", rl_prompt); rl_prompt = ptr::null(); } |
