about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPankajChaudhary5 <pankajchaudhary172@gmail.com>2020-03-27 09:53:16 +0530
committerPankajChaudhary5 <pankajchaudhary172@gmail.com>2020-03-27 09:53:16 +0530
commit28fe986ae328e7ac832ce6999869eea3ca417be0 (patch)
tree5365c74f8ed4d86d98ea22ec586ee6c598c0ada2
parente5f4dad6c8f1e2cb28c007d20e024b3d34cd45d1 (diff)
downloadrust-28fe986ae328e7ac832ce6999869eea3ca417be0.tar.gz
rust-28fe986ae328e7ac832ce6999869eea3ca417be0.zip
fix suggested changes
-rw-r--r--src/librustc_error_codes/error_codes/E0703.md11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/librustc_error_codes/error_codes/E0703.md b/src/librustc_error_codes/error_codes/E0703.md
index 2f9d745261c..b21416b3644 100644
--- a/src/librustc_error_codes/error_codes/E0703.md
+++ b/src/librustc_error_codes/error_codes/E0703.md
@@ -1,18 +1,19 @@
-Invalid ABI(Application Binary Interface) used in the code.
+Invalid ABI (Application Binary Interface) used in the code.
 
 Erroneous code example:
 
 ```compile_fail,E0703
-extern "invalid" fn foo() {} //~ ERROR
+extern "invalid" fn foo() {} // error!
 
-fn main() { }
+# fn main() {}
 ```
+
 At present there the few predefined ABI's (like Rust, C, system, etc.)
 which we can use in our Rust code. Please verify the ABI from the
 given ABI. For example you can replace the given ABI from 'Rust'.
 
 ```
-extern "Rust" fn foo() {} //~ OK!
+extern "Rust" fn foo() {} // ok!
 
-fn main() { }
+# fn main() { }
 ```