aboutsummaryrefslogtreecommitdiff
path: root/src/utils/web.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-03-25 22:20:21 +0000
committerFuwn <[email protected]>2021-03-25 22:20:21 +0000
commit5fc28bfb2851441893ef2ad5f72e0feb8a0a22cc (patch)
treef39b7bccc486298b1b7f4945cad37b4839817b73 /src/utils/web.rs
parentfeature: Byte utilities (diff)
downloadwhirl-5fc28bfb2851441893ef2ad5f72e0feb8a0a22cc.tar.xz
whirl-5fc28bfb2851441893ef2ad5f72e0feb8a0a22cc.zip
major: Publish work-in-progress
Diffstat (limited to 'src/utils/web.rs')
-rw-r--r--src/utils/web.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/utils/web.rs b/src/utils/web.rs
deleted file mode 100644
index a834648..0000000
--- a/src/utils/web.rs
+++ /dev/null
@@ -1,7 +0,0 @@
-pub fn _is_double_crnl(window: &[u8]) -> bool {
- window.len() >= 4
- && (window[0] == '\r' as u8)
- && (window[1] == '\n' as u8)
- && (window[2] == '\r' as u8)
- && (window[3] == '\n' as u8)
-}