Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bedroombuilds/python2rust
/ new_buf
Function
new_buf
0d_files/rust/bufread_iterator.rs:23–25 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
21
}
22
23
fn new_buf() -> Rc<String> {
24
Rc::new(String::with_capacity(1024)) // Tweakable capacity
25
}
26
27
impl BufReader {
28
pub fn open(path: impl AsRef<std::path::Path>) -> io::Result<Self> {
Callers
2
open
Method · 0.85
next
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected