Skip to content

Commit a78621b

Browse files
authored
docs: reference Python::version_info in PythonVersionInfo docstring (#5464)
1 parent 2b83e60 commit a78621b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/version.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// Represents the major, minor, and patch (if any) versions of this interpreter.
22
///
3-
/// This struct is usually created with [`Python::version`].
3+
/// This struct is usually created with [`Python::version_info`].
44
///
55
/// # Examples
66
///
@@ -13,7 +13,7 @@
1313
/// });
1414
/// ```
1515
///
16-
/// [`Python::version`]: crate::marker::Python::version
16+
/// [`Python::version_info`]: crate::marker::Python::version_info
1717
#[derive(Debug)]
1818
pub struct PythonVersionInfo<'a> {
1919
/// Python major version (e.g. `3`).

0 commit comments

Comments
 (0)