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:
parent
d61798c7e0
commit
a4724700b2
1 changed files with 1 additions and 3 deletions
|
@ -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)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue