Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alexfertel/rust-algorithms
/ empty_string
Function
empty_string
src/string/rabin_karp.rs:139–142 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
137
138
#[test]
139
fn empty_string() {
140
let index = rabin_karp(
""
.to_string(),
"abcdef"
.to_string());
141
assert_eq!(index, vec![]);
142
}
143
}
Callers
nothing calls this directly
Calls
1
rabin_karp
Function · 0.85
Tested by
no test coverage detected