rust-lang / rust-lang/rust

`core::hash::SipHasher` is marked as deprecated in favor of `DefaultHasher`, but that's in `std::` not in `core::`

Open
#161,096 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-bug needs-triage
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

See the documentation for core::hash::SipHasher.

Deprecated since 1.13.0:
use std:#️⃣:DefaultHasher instead

I don't see a particular reason to restrict DefaultHasher to be in std only, as it's compatible with core (it just wraps SipHasher13).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked core:#️⃣:SipHasher documentation and compare it with std:#️⃣:DefaultHasher. Determine whether DefaultHasher should be exposed in core; done means the API decision is resolved and the relevant documentation or API change is updated accordingly.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.