MCPcopy Create free account
hub / github.com/NthTensor/Forte / iter

Method iter

src/scope.rs:1335–1340  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1333 }
1334
1335 /// Test that it is possible to borrow local data immutably within deeply
1336 /// nested scopes. This is also mostly here to ensure stuff like this
1337 /// compiles.
1338 #[test]
1339 fn scope_borrow_twice() {
1340 static THREAD_POOL: ThreadPool = ThreadPool::new();
1341 THREAD_POOL.resize_to_available();
1342
1343 let counter = AtomicU8::new(0);

Callers 5

nodesFunction · 0.80
sizesFunction · 0.80
sizesFunction · 0.80
broadcastMethod · 0.80
scope_update_treeFunction · 0.80

Calls

no outgoing calls

Tested by 1

scope_update_treeFunction · 0.64