1//! From<&str> trait implementation for `MarkdownSource`. 2 3use super::super::MarkdownSource; 4 5impl From<&str> for MarkdownSource { 6 fn from(s: &str) -> Self { 7 Self::from_string(s) 8 } 9}