summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorsharkdp <davidpeter@web.de>2020-03-21 16:48:27 +0100
committerDavid Peter <sharkdp@users.noreply.github.com>2020-03-21 19:19:15 +0100
commit06b7be7ee90a336bd1f51deea1e90f357cb01916 (patch)
tree034bf6581124f7aca65a4d61ef8e6e98d80c3bc0 /examples
parentb1b8addf7e5f7b06b741caf7bdf11c795795ae1f (diff)
Major restructuring of theme/syntax handling
Diffstat (limited to 'examples')
-rw-r--r--examples/simple.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/simple.rs b/examples/simple.rs
index 16e0e71f..c3fcd0b9 100644
--- a/examples/simple.rs
+++ b/examples/simple.rs
@@ -29,7 +29,7 @@ fn main() {
theme: "1337".into(),
..Default::default()
};
- let assets = HighlightingAssets::new();
+ let assets = HighlightingAssets::from_binary();
Controller::new(&config, &assets).run().expect("no errors");
}