Skip to content

Commit ef335bc

Browse files
authored
Fix some doc typos in server/service.rs (#26)
1 parent fe4918a commit ef335bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/server/service.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ impl<St> Server<St, (), (), ()>
4242
where
4343
St: 'static,
4444
{
45-
/// Start server buldeing process with provided handshake service
45+
/// Start server building process with provided handshake service
4646
pub fn build<F, H>(handshake: F) -> ServerBuilder<St, H, DefaultControlService<St, H::Error>>
4747
where
4848
F: IntoServiceFactory<H, Handshake>,
@@ -78,7 +78,7 @@ impl<St, H, Ctl> ServerBuilder<St, H, Ctl> {
7878

7979
/// Set handshake timeout.
8080
///
81-
/// By default handshake timeuot is 5 seconds.
81+
/// By default handshake timeout is 5 seconds.
8282
pub fn handshake_timeout(mut self, timeout: Seconds) -> Self {
8383
self.handshake_timeout = timeout;
8484
self

0 commit comments

Comments
 (0)