diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2021-07-09 13:37:00 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2021-07-09 13:38:35 +0300 |
commit | 5a640f9f3d6054b611a7f3fb7b0341227606d15d (patch) | |
tree | 03ebdd8e0fa407f58397831fde227e13e3c749a1 /version-helper | |
parent | b372c35f35376874bc107fb3433030c5e06f7811 (diff) |
gst-plugin-version-helper: Fix documentation
Diffstat (limited to 'version-helper')
-rw-r--r-- | version-helper/README.md | 2 | ||||
-rw-r--r-- | version-helper/src/lib.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/version-helper/README.md b/version-helper/README.md index cc0daf62..ad69ae5b 100644 --- a/version-helper/README.md +++ b/version-helper/README.md @@ -8,7 +8,7 @@ This function is supposed to be used as follows in the `build.rs` of a crate tha plugin: ```rust,ignore -gst_plugin_version_helper::get_info(); +gst_plugin_version_helper::info(); ``` Inside `lib.rs` of the plugin, the information provided by `get_info` are usable as follows: diff --git a/version-helper/src/lib.rs b/version-helper/src/lib.rs index 0258b10e..753af786 100644 --- a/version-helper/src/lib.rs +++ b/version-helper/src/lib.rs @@ -11,7 +11,7 @@ //! plugin: //! //! ```rust,ignore -//! gst_plugin_version_helper::get_info(); +//! gst_plugin_version_helper::info(); //! ``` //! //! Inside `lib.rs` of the plugin, the information provided by `get_info` are usable as follows: |