1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 06:16:04 +00:00

remove some printlns

This commit is contained in:
mat 2022-05-14 11:20:33 -05:00
parent 345cecf7af
commit 7c194fb245
4 changed files with 1 additions and 4 deletions

View file

@ -32,7 +32,6 @@ use std::{collections::HashMap, fs::File};
lazy_static! {
pub static ref STORAGE: HashMap<String, String> = serde_json::from_str(&{
let src_dir = Path::new(concat!(env!("CARGO_MANIFEST_DIR"), "/src/en_us.json"));
println!("dir: {:?}", src_dir);
let mut file = File::open(src_dir).unwrap();
let mut contents = String::new();
file.read_to_string(&mut contents).unwrap();

View file

@ -113,7 +113,6 @@ impl BitStorage {
let values_per_long = 64 / bits;
let magic_index = values_per_long - 1;
let (divide_mul, divide_add, divide_shift) = MAGIC[magic_index as usize];
println!("values_per_long: {}, size: {}", values_per_long, size);
let calculated_length = (size + values_per_long - 1) / values_per_long;
let mask = (1 << bits) - 1;

View file

@ -41,7 +41,6 @@ impl PalettedContainer {
bits_per_entry != 0 || data.is_empty(),
"Bits per entry is 0 but data is not empty."
);
println!("data: {:?}", data);
let storage = BitStorage::new(bits_per_entry.into(), size, Some(data)).unwrap();
Ok(PalettedContainer {

View file

@ -6,7 +6,7 @@ async fn main() {
println!("Hello, world!");
// let address = "95.111.249.143:10000";
let address = "172.23.192.1:61385";
let address = "192.168.2.234:62840";
// let response = azalea_client::ping::ping_server(&address.try_into().unwrap())
// .await
// .unwrap();