Skip to content

Commit

Permalink
Undo faulty change of doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bewee authored Dec 29, 2021
1 parent 2ddc236 commit cacdaac
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/adapter/adapter_trait.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@ use webthings_gateway_ipc_types::DeviceWithoutId;
/// struct ExampleAdapter;
///
/// #[async_trait]
/// impl Adapter for ExampleAdapter {}
/// impl Adapter for ExampleAdapter {
/// async fn on_remove_device(&mut self, device_id: String) -> Result<(), String> {
/// log::debug!("Device {} removed", device_id);
/// Ok(())
/// }
/// }
///
/// impl ExampleAdapter {
/// # pub fn new(adapter_handle: AdapterHandle) -> Self {
Expand Down

0 comments on commit cacdaac

Please sign in to comment.