language: Fix incorrectly-formatted doc comment (#25151)

This PR fixes an incorrectly-formatted doc comment in the
`BufferSnapshot` impl.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-02-19 08:09:16 -05:00 committed by GitHub
parent fb19db00ca
commit d4b2e88ab8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2759,10 +2759,12 @@ impl Deref for Buffer {
} }
impl BufferSnapshot { 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 { pub fn indent_size_for_line(&self, row: u32) -> IndentSize {
indent_size_for_line(self, row) indent_size_for_line(self, row)
} }
/// Returns [`IndentSize`] for a given position that respects user settings /// Returns [`IndentSize`] for a given position that respects user settings
/// and language preferences. /// and language preferences.
pub fn language_indent_size_at<T: ToOffset>(&self, position: T, cx: &App) -> IndentSize { pub fn language_indent_size_at<T: ToOffset>(&self, position: T, cx: &App) -> IndentSize {