fix warning
This commit is contained in:
1 parent
31ff17c21a
commit
246caffb34
1 file changed
+3
@@ -26,6 +26,9 @@ impl<I: IdNum> IdTracker<I> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl<I: IdNum> Id<I> {
|
impl<I: IdNum> Id<I> {
|
||||||
|
#[allow(dead_code)]
|
||||||
|
/// for debug purposes; should this be exposed?
|
||||||
|
/// generally you want to use labels with widgets
|
||||||
pub(crate) fn raw(id: I) -> Self {
|
pub(crate) fn raw(id: I) -> Self {
|
||||||
Self(id)
|
Self(id)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user