about summary refs log tree commit diff
path: root/src/librustc_error_codes/error_codes
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustc_error_codes/error_codes')
-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() { }
 ```