Skip to content

Commit

Permalink
Inline string format
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Nov 28, 2023
1 parent b25abed commit 9d43444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/eframe/src/web/screen_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pub fn speak(text: &str) {
}

if let Some(window) = web_sys::window() {
log::debug!("Speaking: {:?}", text);
log::debug!("Speaking {text:?}");

if let Ok(speech_synthesis) = window.speech_synthesis() {
speech_synthesis.cancel(); // interrupt previous speech, if any
Expand Down

0 comments on commit 9d43444

Please sign in to comment.