diff options
author | Marcus Klaas de Vries <[email protected]> | 2019-01-10 15:03:15 +0000 |
---|---|---|
committer | Marcus Klaas de Vries <[email protected]> | 2019-01-14 12:52:57 +0000 |
commit | 5f5dc20d85dead5fbd51d163451f796255c9faea (patch) | |
tree | 2027553e671ee8c94dd1b6e5045868fd479cd682 /crates/ra_syntax/src/yellow.rs | |
parent | a6146d35b1615cf5fb908b29f34e58bfde3bf96d (diff) |
Try implementing integer type inference (WIP)
Diffstat (limited to 'crates/ra_syntax/src/yellow.rs')
-rw-r--r-- | crates/ra_syntax/src/yellow.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/yellow.rs b/crates/ra_syntax/src/yellow.rs index 03df00fc6..9b93945cc 100644 --- a/crates/ra_syntax/src/yellow.rs +++ b/crates/ra_syntax/src/yellow.rs | |||
@@ -128,7 +128,7 @@ impl SyntaxNode { | |||
128 | pub(crate) fn root_data(&self) -> &Vec<SyntaxError> { | 128 | pub(crate) fn root_data(&self) -> &Vec<SyntaxError> { |
129 | self.0.root_data() | 129 | self.0.root_data() |
130 | } | 130 | } |
131 | 131 | ||
132 | pub(crate) fn replace_with(&self, replacement: GreenNode) -> GreenNode { | 132 | pub(crate) fn replace_with(&self, replacement: GreenNode) -> GreenNode { |
133 | self.0.replace_self(replacement) | 133 | self.0.replace_self(replacement) |
134 | } | 134 | } |