Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Covertness committed Aug 28, 2023
1 parent 4ed795b commit 993eab9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
with:
out-type: Lcov
args: '--avoid-cfg-tarpaulin'
version: '0.15.0'
version: '0.22.0'


- name: Coveralls Upload
Expand Down
1 change: 1 addition & 0 deletions rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
indent_style = "Block"
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@ pub use self::server::{CoAPServer, Server};
pub mod client;
pub mod message;
mod observer;
pub mod server;
pub mod server;
5 changes: 4 additions & 1 deletion src/observer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,10 @@ impl Observer {
let mut response2 = response.clone();
response2.message.payload = resource.payload.clone();
response2.message.set_observe_value(resource.sequence);
response2.message.header.set_type(MessageType::NonConfirmable);
response2
.message
.header
.set_type(MessageType::NonConfirmable);
self.send_message(&register_address, &response2.message)
.await;
}
Expand Down

0 comments on commit 993eab9

Please sign in to comment.