Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 7, 2025
1 parent 12c1f8e commit 34d13af
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion platform/rust/src/bin/render.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::fs;
use clap::Parser;
use maplibre_native::{MapRenderer, TileServerOptions};
use std::fs;

/// MapLibre Native render tool
#[derive(Parser, Debug)]
Expand Down
4 changes: 2 additions & 2 deletions platform/rust/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
mod tile_server_options;
mod map_renderer;
mod tile_server_options;

pub use tile_server_options::TileServerOptions;
pub use map_renderer::MapRenderer;
pub use tile_server_options::TileServerOptions;

#[cxx::bridge(namespace = "ml::bridge")]
mod ffi {
Expand Down
2 changes: 1 addition & 1 deletion platform/rust/src/map_renderer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ impl MapRenderer {
}

pub fn set_size(&mut self, width: u32, height: u32) -> &mut Self {
ffi::MapRenderer_setSize(self.0.pin_mut(), width,height);
ffi::MapRenderer_setSize(self.0.pin_mut(), width, height);
self
}

Expand Down

0 comments on commit 34d13af

Please sign in to comment.