gst-plugin-version-helper: Fix documentation

This commit is contained in:
Sebastian Dröge 2021-07-09 13:37:00 +03:00
parent 40d00fe133
commit fc229f7b46
3 changed files with 3 additions and 3 deletions

View file

@ -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"]

View file

@ -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:

View file

@ -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: