Corrected documentation

This commit is contained in:
Jonas Frei 2017-05-31 19:36:12 +02:00
parent f6941840cb
commit 249743158d
1 changed files with 6 additions and 1 deletions

View File

@ -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();