Skip to content

Commit

Permalink
feat: add #[track_caller] to ToasterInjection::expect_context (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
luoxiaozero authored Oct 17, 2024
1 parent 3a96d9f commit 8aaf3cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions thaw/src/toast/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ enum ToasterMessage {
}

impl ToasterInjection {
#[track_caller]
pub fn expect_context() -> Self {
expect_context()
}
Expand Down

0 comments on commit 8aaf3cb

Please sign in to comment.