File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 18
18
//!
19
19
//! Use the `python!{..}` macro to write Python code directly in your Rust code.
20
20
//!
21
- //! _NOTE:_ Rust **nightly ** toolchain is required. Feature `proc_macro_span` is still unstable ,
22
- //! for more details check out [issue #54725](https://github.com/rust-lang/rust/issues/54725) - Tracking issue for `proc_macro::Span` inspection APIs
21
+ //! _NOTE:_ This crate uses the **unstable ** [ `proc_macro_span` feature](https://github.com/rust-lang/rust/issues/54725) ,
22
+ //! so it will only compile on Rust **nightly**.
23
23
//!
24
24
//! ## Using Rust variables
25
25
//!
26
26
//! To reference Rust variables, use `'var`, as shown in the example above.
27
- //! `var` needs to implement [`pyo3::ToPyObject `].
27
+ //! `var` needs to implement [`pyo3::IntoPyObject `].
28
28
//!
29
29
//! ## Re-using a Python context
30
30
//!
You can’t perform that action at this time.
0 commit comments