1
Fork 0

Remove namespace for keywords

This commit is contained in:
Guillaume Gomez 2018-09-10 11:27:21 +02:00
parent fb945f0ebb
commit 1a0e8f95f5
2 changed files with 3 additions and 2 deletions

View file

@ -1827,8 +1827,8 @@ impl Context {
*slot.borrow_mut() = self.current.clone();
});
let mut title = if it.is_primitive() {
// No need to include the namespace for primitive types
let mut title = if it.is_primitive() || it.is_keyword() {
// No need to include the namespace for primitive types and keywords
String::new()
} else {
self.current.join("::")