We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5260e9 commit 897731aCopy full SHA for 897731a
src/main.rs
@@ -29,7 +29,7 @@ struct Static;
29
fn get_embedded_file(file_path: &str) -> String {
30
match Static::get(file_path) {
31
Some(file) => match std::str::from_utf8(&file.data) {
32
- Ok(js) => js.to_string(),
+ Ok(content) => content.to_string(),
33
Err(e) => {
34
eprintln!("Failed to read embedded file: {e}");
35
String::new()
0 commit comments