diff --git a/embd/src/lib.rs b/embd/src/lib.rs index 0780950..54dcace 100644 --- a/embd/src/lib.rs +++ b/embd/src/lib.rs @@ -31,9 +31,7 @@ pub fn __string_runtime(neighbor: &str, path: &str) -> String { /// # Example /// /// ``` -/// fn main() { -/// let content: Cow<'static, str> = embd::string!("main.rs"); -/// } +/// let content: Cow<'static, str> = embd::string!("main.rs"); /// ``` #[macro_export] #[cfg(procmacro2_semver_exempt)]