Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ source_len
Method
source_len
crates/literal/src/escape.rs:256–258 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
254
255
unsafe impl Escape for UnicodeEscape<'_> {
256
fn source_len(&self) -> usize {
257
self.source.len()
258
}
259
260
fn layout(&self) -> &EscapeLayout {
261
&self.layout
Callers
1
changed
Method · 0.80
Calls
1
len
Method · 0.45
Tested by
no test coverage detected