1
Fork 0
mirror of https://github.com/RGBCube/embd-rs synced 2025-05-31 02:58:12 +00:00

Use .cloned() rather than .into_owned()

This commit is contained in:
RGBCube 2025-02-02 21:51:31 +03:00
parent d61798c7e0
commit a4724700b2
No known key found for this signature in database

View file

@ -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)]