mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 13:51:16 +00:00
[flake8-pie
] Small docs fix to PIE794
(#18829)
<!-- Thank you for contributing to Ruff/ty! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? (Please prefix with `[ty]` for ty pull requests.) - Does this pull request include references to any relevant issues? --> ## Summary <!-- What's the purpose of the change? What does it do, and why? --> I noticed this since my code for finding missing safety fix sections flagged it, there is a missing `/` causing part of the new changes to be a normal comment instead of a doc comment ## Test Plan <!-- How was it tested? --> N/A, no functionality/tests affected
This commit is contained in:
parent
2910988b06
commit
2d25aaeaa2
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ use crate::{AlwaysFixableViolation, Fix};
|
||||||
///
|
///
|
||||||
/// ## Fix Safety
|
/// ## Fix Safety
|
||||||
/// This fix is always marked as unsafe since we cannot know
|
/// This fix is always marked as unsafe since we cannot know
|
||||||
// for certain which assignment was intended.
|
/// for certain which assignment was intended.
|
||||||
#[derive(ViolationMetadata)]
|
#[derive(ViolationMetadata)]
|
||||||
pub(crate) struct DuplicateClassFieldDefinition {
|
pub(crate) struct DuplicateClassFieldDefinition {
|
||||||
name: String,
|
name: String,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue