Skip to content

Commit 1baa693

Browse files
authored
Merge pull request #8 from dawedawe/rust2024
Rust2024
2 parents 2140a82 + 1538add commit 1baa693

File tree

3 files changed

+39
-62
lines changed

3 files changed

+39
-62
lines changed

Cargo.lock

Lines changed: 36 additions & 59 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[workspace.package]
44
authors = ["dawe <[email protected]>"]
55
license = "MIT"
6-
edition = "2021"
6+
edition = "2024"
77
repository = "https://github.com/dawedawe/tusistor"
88

99
[package]

src/app.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ pub mod model {
108108
pub mod view {
109109
use crate::app::model::{InputFocus, Model, SelectedTab};
110110
use ratatui::{
111+
Frame,
111112
layout::{Constraint, Direction, Flex, Layout, Rect},
112113
style::{Color, Modifier, Style},
113114
symbols,
@@ -116,7 +117,6 @@ pub mod view {
116117
Bar, BarChart, BarGroup, Block, Borders, List, ListDirection, ListItem, ListState,
117118
Padding, Paragraph, Tabs,
118119
},
119-
Frame,
120120
};
121121

122122
fn tabs<'a>(selected: &SelectedTab) -> Tabs<'a> {
@@ -922,7 +922,7 @@ pub mod update {
922922
#[cfg(test)]
923923
mod tests {
924924
use super::model::{Model, SelectedTab};
925-
use super::update::{update, ColorCodesMsg, Msg};
925+
use super::update::{ColorCodesMsg, Msg, update};
926926

927927
#[test]
928928
fn test_exit_msg() {

0 commit comments

Comments
 (0)