diff options
| author | Brooks J Rady <b.j.rady@gmail.com> | 2021-01-06 17:23:00 +0000 |
|---|---|---|
| committer | Brooks J Rady <b.j.rady@gmail.com> | 2021-01-06 17:23:00 +0000 |
| commit | 698bcf83fc041637191ae7ef92fdeb3a5acb14b8 (patch) | |
| tree | 28a0c33f6d4eb94080cdcbc57ebcae08462dad1f /src/utils | |
| parent | Fix early quit with plugins (diff) | |
| download | sl0ppij-698bcf83fc041637191ae7ef92fdeb3a5acb14b8.tar.gz sl0ppij-698bcf83fc041637191ae7ef92fdeb3a5acb14b8.tar.xz sl0ppij-698bcf83fc041637191ae7ef92fdeb3a5acb14b8.zip | |
Warnings purged and some FIXME's addressed
Diffstat (limited to 'src/utils')
| -rw-r--r-- | src/utils/shared.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/utils/shared.rs b/src/utils/shared.rs index c66d8ad1..1d8ca5c3 100644 --- a/src/utils/shared.rs +++ b/src/utils/shared.rs @@ -2,7 +2,6 @@ use std::{iter, str::from_utf8}; use strip_ansi_escapes::strip; -// FIXME: Should this be an extension trait? Or here at all? pub fn ansi_len(s: &str) -> usize { from_utf8(&strip(s.as_bytes()).unwrap()) .unwrap() |
