aboutsummaryrefslogtreecommitdiff
path: root/src/example.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/example.rs')
-rw-r--r--src/example.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/example.rs b/src/example.rs
index 770ac8a..7d20a28 100644
--- a/src/example.rs
+++ b/src/example.rs
@@ -1,10 +1,14 @@
-use std::collections::{HashSet, HashMap};
+use std::collections::{HashMap, HashSet};
use crate::charset::Charset;
use crate::*;
impl Example {
- pub fn gen_furigana<'a>(&mut self, dict_idx: &DictIndex<'a>, overrides: &HashMap<String, String>) {
+ pub fn gen_furigana<'a>(
+ &mut self,
+ dict_idx: &DictIndex<'a>,
+ overrides: &HashMap<String, String>,
+ ) {
use std::fmt::Write;
if let Some(v) = overrides.get(&self.ja) {