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:
parent
fb19db00ca
commit
d4b2e88ab8
1 changed files with 3 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue