From f97a9921dfe9080c6a804a2c8510f4a41c441de5 Mon Sep 17 00:00:00 2001 From: Pascal Hertleif Date: Sun, 13 Jan 2019 19:54:28 +0100 Subject: Fix some random typos --- crates/ra_ide_api_light/src/formatting.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_ide_api_light/src/formatting.rs') diff --git a/crates/ra_ide_api_light/src/formatting.rs b/crates/ra_ide_api_light/src/formatting.rs index 599e3cdcb..ca0fdb928 100644 --- a/crates/ra_ide_api_light/src/formatting.rs +++ b/crates/ra_ide_api_light/src/formatting.rs @@ -5,7 +5,7 @@ use ra_syntax::{ algo::generate, }; -/// If the node is on the begining of the line, calculate indent. +/// If the node is on the beginning of the line, calculate indent. pub(crate) fn leading_indent(node: &SyntaxNode) -> Option<&str> { let prev = prev_leaf(node)?; let ws_text = ast::Whitespace::cast(prev)?.text(); -- cgit v1.2.3