Remove lifetime from FormatContext (#4376)

This commit is contained in:
Micha Reiser 2023-05-11 17:43:42 +02:00 committed by GitHub
parent 6a52577630
commit 1ccef5150d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 124 additions and 138 deletions

View file

@ -50,7 +50,7 @@ pub fn fmt(contents: &str) -> Result<Formatted<ASTFormatContext>> {
indent_style: IndentStyle::Space(4),
line_width: 88.try_into().unwrap(),
},
locator,
locator.contents(),
),
[format::builders::statements(&python_cst)]
)