Learn how to use Rust to build ATProto powered applications

typos

Changed files
+4 -4
src
+4 -4
src/main.rs
··· 121 121 None => { 122 122 let html = ErrorTemplate { 123 123 title: "Error", 124 - error: "The OAuth agent did not return a DID. My try relogging in.", 124 + error: "The OAuth agent did not return a DID. May try logging in.", 125 125 }; 126 126 HttpResponse::Ok().body(html.render().expect("template should be valid")) 127 127 } ··· 290 290 None 291 291 }); 292 292 293 - // gets the users session from the session store to resume 293 + // gets the user's session from the session store to resume 294 294 match oauth_client.restore(&did).await { 295 295 Ok(session) => { 296 296 //Creates an agent to make authenticated requests ··· 385 385 match session.get::<String>("did").unwrap_or(None) { 386 386 Some(did_string) => { 387 387 let did = Did::new(did_string.clone()).expect("failed to parse did"); 388 - // gets the users session from the session store to resume 388 + // gets the user's session from the session store to resume 389 389 match oauth_client.restore(&did).await { 390 390 Ok(session) => { 391 391 let agent = Agent::new(session); ··· 502 502 .await 503 503 .expect("Could not create the database"); 504 504 505 - //Create a new handle resolver for home page 505 + //Create a new handle resolver for the home page 506 506 let http_client = Arc::new(DefaultHttpClient::default()); 507 507 508 508 let handle_resolver = CommonDidResolver::new(CommonDidResolverConfig {