summaryrefslogtreecommitdiff
path: root/src/model
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-01-27 12:16:54 +0100
committerLaurenz <laurmaedje@gmail.com>2023-01-27 12:16:54 +0100
commit9d962c5c40da12207433a6e88aa34f11d036af37 (patch)
tree3b38502a4dc2cb1818f8282a400194937d0ac336 /src/model
parent43ef60c09cc48f6b7c6dd752ab7af7c0d6071bc5 (diff)
More `track_caller` annotations
Diffstat (limited to 'src/model')
-rw-r--r--src/model/scope.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/model/scope.rs b/src/model/scope.rs
index 40307cba..2e3b8244 100644
--- a/src/model/scope.rs
+++ b/src/model/scope.rs
@@ -83,6 +83,7 @@ impl Scope {
}
/// Bind a value to a name.
+ #[track_caller]
pub fn define(&mut self, name: impl Into<EcoString>, value: impl Into<Value>) {
let name = name.into();