Skip to content

Commit a897f3d

Browse files
committed
Changes documentation of private context methods.
Signed-off-by: Jesper Brynolf <[email protected]>
1 parent b62029d commit a897f3d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tss-esapi/src/context.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -388,25 +388,25 @@ impl Context {
388388
.unwrap() // will only fail if called from Drop after .take()
389389
}
390390

391-
/// Internal function for retrieving the ESYS session handle for
391+
/// Private method for retrieving the ESYS session handle for
392392
/// the optional session 1.
393393
fn optional_session_1(&self) -> ESYS_TR {
394394
SessionHandle::from(self.sessions.0).into()
395395
}
396396

397-
/// Internal function for retrieving the ESYS session handle for
397+
/// Private method for retrieving the ESYS session handle for
398398
/// the optional session 2.
399399
fn optional_session_2(&self) -> ESYS_TR {
400400
SessionHandle::from(self.sessions.1).into()
401401
}
402402

403-
/// Internal function for retrieving the ESYS session handle for
403+
/// Private method for retrieving the ESYS session handle for
404404
/// the optional session 3.
405405
fn optional_session_3(&self) -> ESYS_TR {
406406
SessionHandle::from(self.sessions.2).into()
407407
}
408408

409-
/// Function that returns the required
409+
/// Private method that returns the required
410410
/// session handle 1 if it is available else
411411
/// returns an error.
412412
fn required_session_1(&self) -> Result<ESYS_TR> {
@@ -419,7 +419,7 @@ impl Context {
419419
})
420420
}
421421

422-
/// Function that returns the required
422+
/// Private method that returns the required
423423
/// session handle 2 if it is available else
424424
/// returns an error.
425425
fn required_session_2(&self) -> Result<ESYS_TR> {

0 commit comments

Comments
 (0)