warnings fix

This commit is contained in:
Dhanji Prasanna
2025-10-23 07:17:55 +11:00
parent 3ec65e38ee
commit efd4eca755
5 changed files with 6 additions and 8 deletions

View File

@@ -31,7 +31,7 @@ async fn main() -> Result<()> {
// Find an element
println!("Finding h1 element...");
let mut h1 = driver.find_element("h1").await?;
let h1 = driver.find_element("h1").await?;
let h1_text = h1.text().await?;
println!("H1 text: {}\n", h1_text);

View File

@@ -1,4 +1,4 @@
use g3_computer_control::{create_controller, ComputerController};
use g3_computer_control::create_controller;
#[tokio::main]
async fn main() {

View File

@@ -1,6 +1,5 @@
use core_graphics::display::CGDisplay;
use image::{ImageBuffer, RgbaImage};
use std::path::Path;
fn main() {
let display = CGDisplay::main();