Skip to content

Commit ed9b721

Browse files
committed
fix build for unicode example
1 parent af532bf commit ed9b721

4 files changed

Lines changed: 14 additions & 17 deletions

File tree

Cargo.lock

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

examples/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ members = [
1414
"tauri",
1515
"text_area",
1616
"user_input",
17+
"unicode",
1718
"website",
1819
"world_map",
1920
]

examples/unicode/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ edition = "2021"
55
publish = false
66

77
[dependencies]
8-
ratzilla = { path = "../../" }
9-
examples-shared = { path = "../shared" }
8+
ratzilla.workspace = true
9+
examples-shared.workspace = true

src/backend/dom.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,8 @@ impl DomBackend {
175175
}
176176

177177
impl Backend for DomBackend {
178+
type Error = IoError;
179+
178180
/// Draw the new content to the screen.
179181
///
180182
/// This function is called in the [`ratatui::Terminal::flush`] function.

0 commit comments

Comments
 (0)