cargo fmt

master
Devin R 2020-03-28 09:08:34 -04:00
parent 9ee8a2d011
commit d4c9bb3cec
2 changed files with 2 additions and 5 deletions

View File

@ -16,8 +16,8 @@
use crate::events::collections::all::RoomEvent;
use crate::models::Room;
// JUST AN IDEA
//
// JUST AN IDEA
//
/// This is just a thought I had. Making users impl a trait instead of writing callbacks for events
/// could give the chance for really good documentation for each event?
@ -43,5 +43,3 @@ pub trait EventEmitter {
/// Any event that alters the state of the room's members
fn on_room_member(&mut self, _: &Room, _: &RoomEvent) {}
}

View File

@ -12,4 +12,3 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.