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: