Skip to content

Commit

Permalink
Fix list formatting in documention (#9886)
Browse files Browse the repository at this point in the history
## Summary

Adds a blank line to render the list correctly.

## Test Plan

Ocular inspection
  • Loading branch information
tjkuson committed Feb 8, 2024
1 parent 4593742 commit ed07fa0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ use rustc_hash::FxHashSet;
///
/// Since there are many possible string literals which contain syntax similar to f-strings yet are not intended to be,
/// this lint will disqualify any literal that satisfies any of the following conditions:
///
/// 1. The string literal is a standalone expression. For example, a docstring.
/// 2. The literal is part of a function call with keyword arguments that match at least one variable (for example: `format("Message: {value}", value = "Hello World")`)
/// 3. The literal (or a parent expression of the literal) has a direct method call on it (for example: `"{value}".format(...)`)
Expand Down

0 comments on commit ed07fa0

Please sign in to comment.