Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davidblewett/rure-python
/ repeat_char
Function
repeat_char
regex/regex-syntax/src/error.rs:282–284 ·
view source on GitHub ↗
(c: char, count: usize)
Source
from the content-addressed store, hash-verified
280
}
281
282
fn repeat_char(c: char, count: usize) -> String {
283
::std::iter::repeat(c).take(count).collect()
284
}
285
286
#[cfg(test)]
287
mod tests {
Callers
2
fmt
Method · 0.85
left_pad_line_number
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected