consistency rename: language item -> lang item
This commit is contained in:
@@ -6,7 +6,7 @@ Erroneous code example:
|
||||
#![feature(lang_items)]
|
||||
|
||||
#[lang = "cookie"]
|
||||
fn cookie() -> ! { // error: definition of an unknown language item: `cookie`
|
||||
fn cookie() -> ! { // error: definition of an unknown lang item: `cookie`
|
||||
loop {}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user