summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2026-03-04 02:00:33 +0100
committerThomas Voss <mail@thomasvoss.com> 2026-03-04 02:00:43 +0100
commitafe584112893313b3d4aec71d11c471b66dbfff5 (patch)
treea1cf94c9b1c30afe8353e4a610faa6eaf9cefb8e
parentbba59647ed4805cdbc14bc3254acc14053846e2e (diff)
Rustfmt
-rw-r--r--oryxc/src/main.rs2
-rw-r--r--oryxc/src/parser.rs8
2 files changed, 5 insertions, 5 deletions
diff --git a/oryxc/src/main.rs b/oryxc/src/main.rs
index aa350e8..23fa66b 100644
--- a/oryxc/src/main.rs
+++ b/oryxc/src/main.rs
@@ -22,7 +22,7 @@ pub struct Flags {
pub debug_parser: bool,
pub help: bool,
pub threads: usize,
- pub error_style: errors::ErrorStyle,
+ pub error_style: errors::ErrorStyle,
}
impl Flags {
diff --git a/oryxc/src/parser.rs b/oryxc/src/parser.rs
index 815327a..b777fe4 100644
--- a/oryxc/src/parser.rs
+++ b/oryxc/src/parser.rs
@@ -38,10 +38,10 @@ pub enum AstType {
Number, /* (_, _) */
Pointer, /* (rhs, _) */
Return, /* (extra-data, extra-data-len) */
- /* TODO: Construct this thing */
- Root, /* (extra-data, extra-data-len) */
- String, /* (_, _) */
- UnaryOperator, /* (rhs, _) */
+ /* TODO: Construct this thing */
+ Root, /* (extra-data, extra-data-len) */
+ String, /* (_, _) */
+ UnaryOperator, /* (rhs, _) */
}
#[derive(Clone, Copy)]