summaryrefslogtreecommitdiffstats
path: root/src/style.rs
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2020-05-31 17:36:28 -0400
committerDan Davison <dandavison7@gmail.com>2020-05-31 17:36:28 -0400
commit9b3714982ab11cc6419f79a0d3681491117bba76 (patch)
tree204f58f68c8d770fee38e74697f2c1326a554196 /src/style.rs
parentbce5ccf6b40eaa3f6dff766f47984813e3b41ee4 (diff)
Function did not need to be public
Diffstat (limited to 'src/style.rs')
-rw-r--r--src/style.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/style.rs b/src/style.rs
index a5981743..6ef539e6 100644
--- a/src/style.rs
+++ b/src/style.rs
@@ -69,7 +69,7 @@ impl Style {
}
/// Construct Style but interpreting 'ul', 'box', etc as applying to the decoration style.
- pub fn from_str_with_handling_of_special_decoration_attributes(
+ fn from_str_with_handling_of_special_decoration_attributes(
style_string: &str,
foreground_default: Option<ansi_term::Color>,
background_default: Option<ansi_term::Color>,