Remove RustPython fork (#523)

This commit is contained in:
Charlie Marsh 2022-10-30 18:04:05 -04:00 committed by GitHub
parent b060ae2f22
commit 2415d73260
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
173 changed files with 2071 additions and 2056 deletions

View file

@ -28,7 +28,7 @@ pub fn leading_space(line: &str) -> String {
pub fn indentation<'a>(checker: &'a Checker, docstring: &Expr) -> &'a str {
let range = Range::from_located(docstring);
checker.locator.slice_source_code_range(&Range {
location: Location::new(range.location.row(), 1),
location: Location::new(range.location.row(), 0),
end_location: Location::new(range.location.row(), range.location.column()),
})
}