refactor: remove some log spam
This commit is contained in:
		
							parent
							
								
									ebfb9f7184
								
							
						
					
					
						commit
						a9b902ab6c
					
				
					 1 changed files with 0 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -179,11 +179,7 @@ pub fn release(self: *Self, query: *Query, comptime query_type: QueryType) void
 | 
			
		|||
pub const QuerySerializeError = (tss.SerializeError || tss.DeserializeError);
 | 
			
		||||
 | 
			
		||||
fn deserialize_query(query_bin: []const u8, language: ?*const treez.Language, allocator: std.mem.Allocator) QuerySerializeError!struct { *Query, *std.heap.ArenaAllocator } {
 | 
			
		||||
    std.log.warn("deserialize_query", .{});
 | 
			
		||||
 | 
			
		||||
    var ts_query_out, const arena = try tss.fromCbor(query_bin, allocator);
 | 
			
		||||
    std.log.warn("decoded TSQuery", .{});
 | 
			
		||||
 | 
			
		||||
    ts_query_out.language = @intFromPtr(language);
 | 
			
		||||
 | 
			
		||||
    const query_out: *Query = @alignCast(@ptrCast(ts_query_out));
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue