Skip to content

Commit

Permalink
use PathBuf instead of Box<Path>
Browse files Browse the repository at this point in the history
  • Loading branch information
SeungheonOh committed Nov 20, 2022
1 parent 8e46f60 commit 7e4fc11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/engine/config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use maplit::btreemap;
#[cfg(feature = "serde")]
use serde::{Deserialize, Serialize};
use std::collections::BTreeMap;
use std::path::Path;
use std::path::PathBuf;

pub use kime_engine_backend::{Key, KeyCode, ModifierState};
pub use kime_engine_backend_hangul::{HangulConfig, HangulData};
Expand Down Expand Up @@ -138,7 +138,7 @@ impl Default for LogConfig {
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
#[cfg_attr(feature = "serde", serde(default))]
pub struct EngineConfig {
pub translation_layer: Option<Box<Path>>,
pub translation_layer: Option<PathBuf>,
pub default_category: InputCategory,
pub global_category_state: bool,
pub global_hotkeys: BTreeMap<Key, Hotkey>,
Expand Down

0 comments on commit 7e4fc11

Please sign in to comment.