Thomas hai 1 ano
pai
achega
54a943fe33
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/lib.rs

+ 1 - 1
src/lib.rs

@@ -5,7 +5,7 @@ use flate2::Compression;
 use std::io::prelude::*;
 
 /// Compress string and encode in a URL safe form
-fn compress_string(s: &str) -> String {
+pub fn compress_string(s: &str) -> String {
     // Convert string to bytes
     let bytes = s.as_bytes();