Fix typo in docs snippt -> snippet (#10353)

This commit is contained in:
Anuraag (Rag) Agrawal 2024-03-12 11:33:40 +09:00 committed by GitHub
parent b117f33075
commit b669306c87
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -3097,7 +3097,7 @@ pub struct FormatOptions {
/// pass
/// ```
///
/// If a code snippt in a docstring contains invalid Python code or if the
/// If a code snippet in a docstring contains invalid Python code or if the
/// formatter would otherwise write invalid Python code, then the code
/// example is ignored by the formatter and kept as-is.
///