glib: doc: fix documentation for usage of Error::kind<T>() with match expression
Although glib::Error cannot be converted into Option::<T> directly,
its documentation describe it's possible. It seems to be typo for
Error::kind::<T>().
@@ -63,7 +63,7 @@ impl Error {
/// ```
///
/// ```ignore
- /// match error {
+ /// match error.kind::<FileError>() {
/// Some(FileError::Exist) => ...
/// Some(FileError::Isdir) => ...
/// ...
