summaryrefslogtreecommitdiff
path: root/src/diag.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-11-25 10:36:31 +0100
committerLaurenz <laurmaedje@gmail.com>2022-11-25 12:16:13 +0100
commitbf5edbbbbb75120d065d1c9587ccfa4eed4fdca1 (patch)
tree956af910ab27a8cec0db83171cd3f0b6d0570a60 /src/diag.rs
parent96f72eee6c6b595164c7a0576c407d7a590661db (diff)
Tidy up
Diffstat (limited to 'src/diag.rs')
-rw-r--r--src/diag.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/diag.rs b/src/diag.rs
index 99ef1291..58eebf8b 100644
--- a/src/diag.rs
+++ b/src/diag.rs
@@ -100,7 +100,7 @@ pub enum Tracepoint {
/// A function call.
Call(Option<EcoString>),
/// A show rule application.
- Apply(EcoString),
+ Show(EcoString),
/// A module import.
Import,
}
@@ -114,7 +114,7 @@ impl Display for Tracepoint {
Tracepoint::Call(None) => {
write!(f, "error occured in this function call")
}
- Tracepoint::Apply(name) => {
+ Tracepoint::Show(name) => {
write!(f, "error occured while applying show rule to this {name}")
}
Tracepoint::Import => {