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 13:09:16 +00:00
committed by GitHub
parent fb19db00ca
commit d4b2e88ab8
+3 -1
View File
@@ -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<T: ToOffset>(&self, position: T, cx: &App) -> IndentSize {