Skip to content

Commit d550ea9

Browse files
committed
Typo
1 parent f61425b commit d550ea9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/ruff_python_importer/src/insertion.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ impl<'a> Insertion<'a> {
5151
/// include a trailing newline.
5252
///
5353
/// If `within_range` is set, the insertion will be limited to the specified range. That is,
54-
/// the insertion is contraint to the given range rather than the start of the file.
54+
/// the insertion is constrained to the given range rather than the start of the file.
5555
/// This is used for insertions in notebook cells where the source code and AST are for
56-
/// the entire notebook but the insertion should be constraint to a specific cell.
56+
/// the entire notebook but the insertion should be constrained to a specific cell.
5757
pub fn start_of_file(
5858
body: &[Stmt],
5959
contents: &str,

0 commit comments

Comments
 (0)