MCPcopy Create free account
hub / github.com/chanced/jsonptr / with_trailing_token

Function with_trailing_token

src/pointer.rs:2141–2145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2139
2140 #[test]
2141 fn with_trailing_token() {
2142 let ptr = Pointer::from_static("/foo");
2143 let foobar = ptr.with_trailing_token("bar");
2144 assert_eq!(foobar, "/foo/bar");
2145 }
2146
2147 #[test]
2148 fn len() {

Callers

nothing calls this directly

Calls 1

with_trailing_tokenMethod · 0.80

Tested by

no test coverage detected