mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
Fix some random typos
This commit is contained in:
parent
6fb13cd535
commit
f97a9921df
3 changed files with 10 additions and 10 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue