mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 22:01:47 +00:00
ruff_formatter
crate doc comment fixes (#6677)
This commit is contained in:
parent
3849fa0cf1
commit
648333b8b2
3 changed files with 6 additions and 6 deletions
|
@ -1,12 +1,12 @@
|
|||
//! Infrastructure for code formatting
|
||||
//!
|
||||
//! This module defines [`FormatElement`], an IR to format code documents and provides a mean to print
|
||||
//! This module defines [`FormatElement`], an IR to format code documents and provides a means to print
|
||||
//! such a document to a string. Objects that know how to format themselves implement the [Format] trait.
|
||||
//!
|
||||
//! ## Formatting Traits
|
||||
//!
|
||||
//! * [Format]: Implemented by objects that can be formatted.
|
||||
//! * [`FormatRule`]: Rule that knows how to format an object of another type. Necessary in the situation where
|
||||
//! * [`Format`]: Implemented by objects that can be formatted.
|
||||
//! * [`FormatRule`]: Rule that knows how to format an object of another type. Useful in the situation where
|
||||
//! it's necessary to implement [Format] on an object from another crate. This module defines the
|
||||
//! [`FormatRefWithRule`] and [`FormatOwnedWithRule`] structs to pass an item with its corresponding rule.
|
||||
//! * [`FormatWithRule`] implemented by objects that know how to format another type. Useful for implementing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue