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:40:02 +0300 |
commit | fc229f7b4671c3c1b53f016c23e56729d9df950d (patch) | |
tree | 08a00752581a5fae58f9e3e629d080b7ebaec8e3 | |
parent | 40d00fe133de821b694bfdd83bdae386e07eb4df (diff) |
gst-plugin-version-helper: Fix documentation
-rw-r--r-- | version-helper/Cargo.toml | 2 | ||||
-rw-r--r-- | version-helper/README.md | 2 | ||||
-rw-r--r-- | version-helper/src/lib.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/version-helper/Cargo.toml b/version-helper/Cargo.toml index 25b519282..3e105fb06 100644 --- a/version-helper/Cargo.toml +++ b/version-helper/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Sajeer Ahamed <ahamedsajeer.15.15@cse.mrt.ac.lk>", "Sebastian Dröge <sebastian@centricular.com>"] categories = ["development-tools"] description = "build.rs helper function for GStreamer plugin metadata" -repository = "https://gitlab.freedesktop.org/gst-plugins-rs/gstreamer-rs" +repository = "https://gitlab.freedesktop.org/gst-plugins-rs" license = "MIT" homepage = "https://gstreamer.freedesktop.org" keywords = ["gstreamer", "multimedia", "cargo"] diff --git a/version-helper/README.md b/version-helper/README.md index cc0daf625..ad69ae5b1 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 0258b10e3..753af786f 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: |