mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-02-16 12:55:13 +00:00
gst-plugin-version-helper: Fix documentation
This commit is contained in:
parent
b372c35f35
commit
5a640f9f3d
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ This function is supposed to be used as follows in the `build.rs` of a crate tha
|
||||||
plugin:
|
plugin:
|
||||||
|
|
||||||
```rust,ignore
|
```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:
|
Inside `lib.rs` of the plugin, the information provided by `get_info` are usable as follows:
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
//! plugin:
|
//! plugin:
|
||||||
//!
|
//!
|
||||||
//! ```rust,ignore
|
//! ```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:
|
//! Inside `lib.rs` of the plugin, the information provided by `get_info` are usable as follows:
|
||||||
|
|
Loading…
Reference in a new issue