Skip to content

Commit 439e72e

Browse files
committed
Don't change folder-not-found message
1 parent f487463 commit 439e72e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

impl/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ fn impl_rust_embed(ast: &syn::DeriveInput) -> syn::Result<TokenStream2> {
379379

380380
if !Path::new(&absolute_folder_path).exists() && !allow_missing {
381381
let mut message = format!(
382-
"#[derive(RustEmbed)] folder '{}' does not exist. To allow the folder to be missing, add #[allow_missing]. cwd: '{}'",
382+
"#[derive(RustEmbed)] folder '{}' does not exist. cwd: '{}'",
383383
absolute_folder_path,
384384
std::env::current_dir().unwrap().to_str().unwrap()
385385
);

0 commit comments

Comments
 (0)