From 368e2793b5b43d23f698325d587aaf7bfbbeab04 Mon Sep 17 00:00:00 2001 From: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com> Date: Wed, 17 Jan 2024 16:57:54 +0100 Subject: [PATCH] Documentation update for URL giving 'page not found' (#9565) ## Summary Documentation - update the link in CONTRIBUTING.md to point to the `ruff_python_parser` crate. It currently gives a `page not found`. --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 498b7be22ae36..865bb6dc5ccc7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -618,7 +618,7 @@ Otherwise, follow the instructions from the linux section. utils with it: - `cargo dev print-ast `: Print the AST of a python file using the - [RustPython parser](https://github.com/astral-sh/RustPython-Parser/tree/main/parser) that is + [RustPython parser](https://github.com/astral-sh/ruff/tree/main/crates/ruff_python_parser) that is mainly used in Ruff. For `if True: pass # comment`, you can see the syntax tree, the byte offsets for start and stop of each node and also how the `:` token, the comment and whitespace are not represented anymore: