aboutsummaryrefslogtreecommitdiff
path: root/src/time/driver/handle.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/time/driver/handle.rs')
-rw-r--r--src/time/driver/handle.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/time/driver/handle.rs b/src/time/driver/handle.rs
index 9a05a54..77b4358 100644
--- a/src/time/driver/handle.rs
+++ b/src/time/driver/handle.rs
@@ -76,7 +76,7 @@ cfg_not_rt! {
/// lazy, and so outside executed inside the runtime successfully without
/// panicking.
pub(crate) fn current() -> Self {
- panic!(crate::util::error::CONTEXT_MISSING_ERROR)
+ panic!("{}", crate::util::error::CONTEXT_MISSING_ERROR)
}
}
}