feat: robust docs
This commit is contained in:
@@ -434,7 +434,7 @@ impl RenderConfig {
|
||||
///
|
||||
/// # Errors
|
||||
///
|
||||
/// Returns [`Error::Other`](crate::error::Error::Other) if serialization
|
||||
/// Returns [`Error::Other`] if serialization
|
||||
/// fails.
|
||||
pub fn to_yaml(&self) -> Result<String> {
|
||||
serde_yaml_ng::to_string(self).map_err(Error::other)
|
||||
|
||||
Reference in New Issue
Block a user