From e0437ae8f63679d32986517c012c0ec2e26a6d51 Mon Sep 17 00:00:00 2001 From: Michael Oultram Date: Wed, 19 Oct 2022 11:34:21 +0100 Subject: docs: fix references to renamed function gst_plugin_version_helper::get_info() --- version-helper/README.md | 2 +- version-helper/src/lib.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'version-helper') diff --git a/version-helper/README.md b/version-helper/README.md index ad69ae5b1..0b84ce151 100644 --- a/version-helper/README.md +++ b/version-helper/README.md @@ -11,7 +11,7 @@ plugin: gst_plugin_version_helper::info(); ``` -Inside `lib.rs` of the plugin, the information provided by `get_info` are usable as follows: +Inside `lib.rs` of the plugin, the information provided by `info` are usable as follows: ```rust,ignore gst::plugin_define!( diff --git a/version-helper/src/lib.rs b/version-helper/src/lib.rs index 6e2d10cb5..ccd90f633 100644 --- a/version-helper/src/lib.rs +++ b/version-helper/src/lib.rs @@ -7,7 +7,7 @@ //! Extracts release for [GStreamer](https://gstreamer.freedesktop.org) plugin metadata //! -//! See [`get_info`](fn.get_info.html) for details. +//! See [`info`](fn.info.html) for details. //! //! This function is supposed to be used as follows in the `build.rs` of a crate that implements a //! plugin: @@ -16,7 +16,7 @@ //! gst_plugin_version_helper::info(); //! ``` //! -//! Inside `lib.rs` of the plugin, the information provided by `get_info` are usable as follows: +//! Inside `lib.rs` of the plugin, the information provided by `info` are usable as follows: //! //! ```rust,ignore //! gst::plugin_define!( -- cgit v1.2.3