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

Commit

Permalink
Fix doctest
Browse files Browse the repository at this point in the history
The test was broken by the commit
f861761.
  • Loading branch information
yvt committed Jan 3, 2020
1 parent 27fec8a commit c96dca0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tcw3/src/ui/views/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -442,10 +442,9 @@ pub trait TableModelEditExt: TableModelEdit {
/// Downcast the result of `self.model_mut()`.
///
/// # use tcw3::ui::views::table::*;
/// # fn test(
/// # fn test<MyModelQuery: TableModelQuery>(
/// # edit: &mut dyn TableModelEdit,
/// # ) {
/// # type MyModelQuery = Vec<f32>;
/// let my_model: &mut MyModelQuery = edit.model_downcast_mut()
/// .expect("wrong concrete type");
/// # }
Expand Down

0 comments on commit c96dca0

Please sign in to comment.