Docs.rs
rustpython-ruff_python_ast-0.16.5
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
pep_604_optional
ruff_
python_
ast
0.16.5
In ruff_
python_
ast::
helpers
ruff_python_ast
::
helpers
Function
pep_
604_
optional
Copy item path
Source
pub fn pep_604_optional(expr: &
Expr
) ->
Expr
Expand description
Format the expression as a PEP 604-style optional.