Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ split_lines
Function
split_lines
rust/src/shell.rs:67–73 ·
view source on GitHub ↗
(string: &str)
Source
from the content-addressed store, hash-verified
65
}
66
67
pub fn split_lines(string: &str) -> Vec<&str> {
68
if string.contains(CRLF) {
69
string.split(CRLF).collect()
70
} else {
71
string.split(LF).collect()
72
}
73
}
Callers
nothing calls this directly
Calls
2
collect
Method · 0.80
split
Method · 0.80
Tested by
no test coverage detected