diff --git a/src/allocator.rs b/src/allocator.rs index 491e7f7..8642a50 100644 --- a/src/allocator.rs +++ b/src/allocator.rs @@ -174,4 +174,4 @@ mod tests { let s = arena.get_interned(id1).unwrap(); assert_eq!(s, "test"); } -} \ No newline at end of file +} diff --git a/src/bin/crabrl_bench.rs b/src/bin/crabrl_bench.rs index e574c90..5b1275a 100644 --- a/src/bin/crabrl_bench.rs +++ b/src/bin/crabrl_bench.rs @@ -38,3 +38,4 @@ fn main() { } } + diff --git a/src/cache.rs b/src/cache.rs index e883ba8..988214c 100644 --- a/src/cache.rs +++ b/src/cache.rs @@ -44,4 +44,4 @@ where pub fn clear(&self) { self.map.clear(); } -} \ No newline at end of file +} diff --git a/src/instance.rs b/src/instance.rs index 5b3aa38..ffeab7d 100644 --- a/src/instance.rs +++ b/src/instance.rs @@ -18,4 +18,4 @@ impl InstanceValidator { pub fn validate(&self, _document: &Document) -> Result<()> { Ok(()) } -} \ No newline at end of file +} diff --git a/src/lib.rs b/src/lib.rs index d6eb835..6097622 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -115,4 +115,4 @@ pub enum Error { #[error("Not found: {0}")] NotFound(String), -} \ No newline at end of file +} diff --git a/src/linkbase.rs b/src/linkbase.rs index fe71d8e..6a07f63 100644 --- a/src/linkbase.rs +++ b/src/linkbase.rs @@ -435,4 +435,4 @@ impl LinkbaseProcessor { errors } -} \ No newline at end of file +} diff --git a/src/main.rs b/src/main.rs index ab3cad2..d117a93 100644 --- a/src/main.rs +++ b/src/main.rs @@ -156,4 +156,4 @@ fn main() -> Result<()> { } Ok(()) -} \ No newline at end of file +} diff --git a/src/model.rs b/src/model.rs index 216e518..8fe84be 100644 --- a/src/model.rs +++ b/src/model.rs @@ -349,3 +349,4 @@ impl Document { } + diff --git a/src/parser.rs b/src/parser.rs index e59fad6..723e034 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -1549,4 +1549,4 @@ impl<'a> FullXbrlParser<'a> { // Implement remaining base methods from parser.rs // ... (include all the base parsing methods like read_tag_name, parse_attributes, etc.) -} \ No newline at end of file +} diff --git a/src/parser_base.rs b/src/parser_base.rs index 8a4018f..004ae7b 100644 --- a/src/parser_base.rs +++ b/src/parser_base.rs @@ -235,4 +235,4 @@ impl Default for Parser { fn default() -> Self { Self::new() } -} \ No newline at end of file +} diff --git a/src/schema.rs b/src/schema.rs index f018892..e3b45e3 100644 --- a/src/schema.rs +++ b/src/schema.rs @@ -272,4 +272,4 @@ impl SchemaValidator { errors } -} \ No newline at end of file +} diff --git a/src/sec.rs b/src/sec.rs index 243703e..90e7c74 100644 --- a/src/sec.rs +++ b/src/sec.rs @@ -48,4 +48,4 @@ mod tests { } } } -} \ No newline at end of file +} diff --git a/src/simd.rs b/src/simd.rs index e0ca012..4cfb453 100644 --- a/src/simd.rs +++ b/src/simd.rs @@ -205,4 +205,4 @@ mod tests { let data = b" \t\n\r"; assert_eq!(skip_whitespace(data, 0), 6); } -} \ No newline at end of file +} diff --git a/src/simple_parser.rs b/src/simple_parser.rs index 3e87d73..3c1ce3d 100644 --- a/src/simple_parser.rs +++ b/src/simple_parser.rs @@ -95,4 +95,4 @@ impl Parser { Ok(doc) } -} \ No newline at end of file +} diff --git a/src/taxonomy.rs b/src/taxonomy.rs index a79d818..edbefa8 100644 --- a/src/taxonomy.rs +++ b/src/taxonomy.rs @@ -46,4 +46,4 @@ impl Taxonomy { pub fn load_linkbase(&mut self, _path: &str) -> Result<()> { Ok(()) } -} \ No newline at end of file +} diff --git a/src/validator.rs b/src/validator.rs index 25caf30..b3dee4b 100644 --- a/src/validator.rs +++ b/src/validator.rs @@ -71,7 +71,7 @@ impl XbrlValidator { // Return error in strict mode if any validation errors if self.strict_mode && !validation_errors.is_empty() { return Err(Error::Validation(format!( - "Validation failed with {} errors", + "Validation failed with {} errors", validation_errors.len() ))); } @@ -558,4 +558,4 @@ pub fn ifrs_validation_rules(doc: &Document) -> Vec { } errors -} \ No newline at end of file +}