Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
rust-lang
/
rust
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
16.9k
Star
119k
Code
Issues
5k+
Pull requests
1.4k
Actions
Projects
Security and quality
6
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
[WIP] Implement Needle API (RFC 2500)
- #59591
#59591
Closed
kennytm
wants to merge 18 commits into
rust-lang:master
rust-lang/rust:master
from
kennytm:needle-api
kennytm/rust:needle-api
Copy head branch name to clipboard
Conversation
Commits
18
(18)
Checks
Files changed
Closed
[WIP] Implement Needle API (RFC 2500)
#59591
kennytm
wants to merge 18 commits into
rust-lang:master
rust-lang/rust:master
from
kennytm:needle-api
kennytm/rust:needle-api
Copy head branch name to clipboard
Commits
Commits on Apr 19, 2019
Support OMG-WTF-8 in wtf8.rs.
kennytm
committed
fcd71f6
View commit details
Copy full SHA for fcd71f6
Browse repository at this point
Implemented the Needle API (RFC 2500).
kennytm
committed
175d8e8
View commit details
Copy full SHA for 175d8e8
Browse repository at this point
Migrate the existing string pattern APIs to use the new Needle API.
kennytm
committed
a795af0
View commit details
Copy full SHA for a795af0
Browse repository at this point
Generalize the slice methods to use the Needle API.
Show description for 3be85df
kennytm
committed
3be85df
View commit details
Copy full SHA for 3be85df
Browse repository at this point
Implement slicing operators on OsStr and OsString.
kennytm
committed
58e8735
View commit details
Copy full SHA for 58e8735
Browse repository at this point
Delegate Eq/PartialEq/Ord/PartialOrd/Hash of OsStr to their internal impl.
Show description for 18a59c0
kennytm
committed
18a59c0
View commit details
Copy full SHA for 18a59c0
Browse repository at this point
Implement the Needle API for OsStr.
kennytm
committed
602da5c
View commit details
Copy full SHA for 602da5c
Browse repository at this point
Added str::{find_range, rfind_range, match_ranges, rmatch_ranges}.
kennytm
committed
f1bedc3
View commit details
Copy full SHA for f1bedc3
Browse repository at this point
Added the str::*_mut methods using Needle API.
kennytm
committed
a10c43a
View commit details
Copy full SHA for a10c43a
Browse repository at this point
Added needle methods for slices
kennytm
committed
d118cd0
View commit details
Copy full SHA for d118cd0
Browse repository at this point
Added needle methods for OsStr
kennytm
committed
eba3253
View commit details
Copy full SHA for eba3253
Browse repository at this point
Brings back Wtf8Buf
kennytm
committed
f9fece2
View commit details
Copy full SHA for f9fece2
Browse repository at this point
Fix build and test failure
kennytm
committed
d38b8e6
View commit details
Copy full SHA for d38b8e6
Browse repository at this point
Removed all intra-doc-links from the needle docs.
Show description for a8bc182
kennytm
committed
a8bc182
View commit details
Copy full SHA for a8bc182
Browse repository at this point
bless some UI changes
kennytm
committed
f4ad8c4
View commit details
Copy full SHA for f4ad8c4
Browse repository at this point
Convert slice::split and friends back to taking FnMut only.
Show description for 9dc2d70
kennytm
committed
9dc2d70
View commit details
Copy full SHA for 9dc2d70
Browse repository at this point
impl Needle<&[T]> for &&[T], &Box<[T]>.
kennytm
committed
f1f34fa
View commit details
Copy full SHA for f1f34fa
Browse repository at this point
Fix 2018 edition fallout.
kennytm
committed
6cc67c7
View commit details
Copy full SHA for 6cc67c7
Browse repository at this point
You can’t perform that action at this time.