diff options
author | qkzk <qu3nt1n@gmail.com> | 2023-11-05 02:09:54 +0100 |
---|---|---|
committer | qkzk <qu3nt1n@gmail.com> | 2023-11-05 02:09:54 +0100 |
commit | bd1cb2b3f325ddaa019972762aa32fd4db286eaf (patch) | |
tree | 93bc7c0761d88e783974fa5c8dd5c1e3d520befe /src/tree.rs | |
parent | efe46e9abb71c6cfc6a4c56a15920ec73183f0a0 (diff) |
doesn't work yet, is way quicker
Diffstat (limited to 'src/tree.rs')
-rw-r--r-- | src/tree.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tree.rs b/src/tree.rs index a659191..cb63eba 100644 --- a/src/tree.rs +++ b/src/tree.rs @@ -21,7 +21,7 @@ pub struct ColoredString { } impl ColoredString { - fn new(text: String, color_effect: ColorEffect, path: std::path::PathBuf) -> Self { + pub fn new(text: String, color_effect: ColorEffect, path: std::path::PathBuf) -> Self { Self { text, color_effect, |