Skip to content

Commit 2bae804

Browse files
LessUpqwencoder
andcommitted
fix: 格式化所有新Go文件以满足gofmt要求
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
1 parent 567ab3d commit 2bae804

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

algorithms/huffman/go/huffman.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func (n *Node) IsLeaf() bool {
3535

3636
type nodeHeap []*Node
3737

38-
func (h nodeHeap) Len() int { return len(h) }
38+
func (h nodeHeap) Len() int { return len(h) }
3939
func (h nodeHeap) Less(i, j int) bool {
4040
if h[i].Freq != h[j].Freq {
4141
return h[i].Freq < h[j].Freq

0 commit comments

Comments
 (0)