From d4b2e88ab8995126fa9c6ba5384e7164871b2df7 Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Wed, 19 Feb 2025 08:09:16 -0500 Subject: [PATCH] language: Fix incorrectly-formatted doc comment (#25151) This PR fixes an incorrectly-formatted doc comment in the `BufferSnapshot` impl. Release Notes: - N/A --- crates/language/src/buffer.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/language/src/buffer.rs b/crates/language/src/buffer.rs index 022031a046..fa6909f2e9 100644 --- a/crates/language/src/buffer.rs +++ b/crates/language/src/buffer.rs @@ -2759,10 +2759,12 @@ impl Deref for Buffer { } impl BufferSnapshot { - /// Returns [`IndentSize`] for a given line that respects user settings and /// language preferences. + /// Returns [`IndentSize`] for a given line that respects user settings and + /// language preferences. pub fn indent_size_for_line(&self, row: u32) -> IndentSize { indent_size_for_line(self, row) } + /// Returns [`IndentSize`] for a given position that respects user settings /// and language preferences. pub fn language_indent_size_at(&self, position: T, cx: &App) -> IndentSize {