Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fbbbbb9d authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Change request for Rust v1.70.0" am: bdc09ba4 am: e6ff03ab

parents 71837991 e6ff03ab
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -196,12 +196,11 @@ fn create_quiche_config() {
#[test]
fn shared_cache() {
    let cache_a = Cache::new();
    let cache_b = cache_a.clone();
    let config_a = cache_a
        .get(&Key { cert_path: None, max_idle_timeout: 1000, enable_early_data: true })
        .unwrap();
    assert_eq!(Arc::strong_count(&config_a.0), 2);
    let _config_b = cache_b
    let _config_b = cache_a
        .get(&Key { cert_path: None, max_idle_timeout: 1000, enable_early_data: true })
        .unwrap();
    assert_eq!(Arc::strong_count(&config_a.0), 3);