Skip to content

Commit

Permalink
The comment on GetHasher was copy-pasta and referred to Registry.
Browse files Browse the repository at this point in the history
  • Loading branch information
hsanjuan committed Oct 25, 2023
1 parent 24355ea commit b560acd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func Register(indicator uint64, hasherFactory func() hash.Hash) {
mhreg.Register(indicator, hasherFactory)
}

// Register is an alias for Register in the core package.
// GetHasher is an alias for GetHasher in the core package.
//
// Consider using the core package instead of this multihash package;
// that package does not introduce transitive dependencies except for those you opt into,
Expand Down

0 comments on commit b560acd

Please sign in to comment.