Rustfmt
diff --git a/examples/example.rs b/examples/example.rs
index 51f9154..adbbbcd 100644
--- a/examples/example.rs
+++ b/examples/example.rs
@@ -39,8 +39,7 @@
}
}
-impl Helper for MyHelper {
-}
+impl Helper for MyHelper {}
fn main() {
init_logger().is_ok();
diff --git a/src/lib.rs b/src/lib.rs
index b37409e..a5e72bb 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -623,10 +623,14 @@
///
/// TODO Tokenizer/parser used for both completion, suggestion, highlighting.
/// (parse current line once)
-pub trait Helper where Self: Completer, Self: Hinter {
+pub trait Helper
+where
+ Self: Completer,
+ Self: Hinter,
+{
/// Decorate `line` with [ansi color](https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_(Select_Graphic_Rendition)_parameters).
- /// Rustyline will try to handle escape sequence for ansi color on windows when not supported natively (windows <10).
- /// TODO to be used
+ /// Rustyline will try to handle escape sequence for ansi color on windows
+ /// when not supported natively (windows <10). TODO to be used
fn highligh(line: &str) -> Cow<str> {
Borrowed(line)
}