Skip to content
This repository has been archived by the owner on May 12, 2022. It is now read-only.

Commit

Permalink
fix(uicore): add a missing parameter for assert!
Browse files Browse the repository at this point in the history
Detected by the `panic_params` lint of Clippy.
  • Loading branch information
yvt committed May 29, 2020
1 parent 179598e commit 1dd3119
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tcw3/src/uicore/layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,8 @@ impl<'a> LayoutCtx<'a> {
#[cfg(debug_assertions)]
assert!(
hview.view.has_frame.get(),
"The view {:?} doesn't have a frame set yet"
"The view {:?} doesn't have a frame set yet",
hview,
);

hview.view.frame.get()
Expand Down

0 comments on commit 1dd3119

Please sign in to comment.