Corrected documentation
This commit is contained in:
parent
f6941840cb
commit
249743158d
|
@ -208,7 +208,7 @@ pub trait Commands {
|
||||||
|
|
||||||
/// #Description
|
/// #Description
|
||||||
///
|
///
|
||||||
/// Retrieves the property value from mpv. Implemented for the following types:
|
/// Retrieves the property value from mpv.
|
||||||
/// The result is always of type String, regardless of the type of the value of the mpv property
|
/// The result is always of type String, regardless of the type of the value of the mpv property
|
||||||
///
|
///
|
||||||
/// ##Input arguments
|
/// ##Input arguments
|
||||||
|
@ -242,6 +242,11 @@ pub trait Commands {
|
||||||
///
|
///
|
||||||
/// Runs mpv commands. The arguments are passed as a String-Vector reference:
|
/// Runs mpv commands. The arguments are passed as a String-Vector reference:
|
||||||
///
|
///
|
||||||
|
/// ##Input arguments
|
||||||
|
///
|
||||||
|
/// - **command** defines the mpv command that should be executed
|
||||||
|
/// - **args** a slice of &str's which define the arguments
|
||||||
|
///
|
||||||
/// #Example
|
/// #Example
|
||||||
/// ```
|
/// ```
|
||||||
/// let mpv = Mpv::connect("/tmp/mpvsocket").unwrap();
|
/// let mpv = Mpv::connect("/tmp/mpvsocket").unwrap();
|
||||||
|
|
Loading…
Reference in New Issue