Skip to content

Commit 80d9e59

Browse files
committed
Update docs.
1 parent cf8a748 commit 80d9e59

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
//!
1919
//! Use the `python!{..}` macro to write Python code directly in your Rust code.
2020
//!
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**.
2323
//!
2424
//! ## Using Rust variables
2525
//!
2626
//! 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`].
2828
//!
2929
//! ## Re-using a Python context
3030
//!

0 commit comments

Comments
 (0)