]> git.lizzy.rs Git - rust.git/commitdiff
Rust unstable book: basic desc and example for `non_ascii_idents`.
authorCorey Farwell <coreyf@rwell.org>
Sun, 12 Mar 2017 06:05:55 +0000 (01:05 -0500)
committerCorey Farwell <coreyf@rwell.org>
Tue, 14 Mar 2017 01:38:46 +0000 (21:38 -0400)
src/doc/unstable-book/src/non-ascii-idents.md

index f426022ab3a5161cc05a24b30912ad84605b7270..d5600c58fd9a657fff7c7e8c4c992335a2b4f666 100644 (file)
@@ -6,5 +6,13 @@ The tracking issue for this feature is: [#28979]
 
 ------------------------
 
+The `non_ascii_idents` feature adds support for non-ASCII identifiers.
 
+## Examples
 
+```rust
+#![feature(non_ascii_idents)]
+
+const ε: f64 = 0.00001f64;
+const Π: f64 = 3.14f64;
+```
\ No newline at end of file