unexist.dev

Changeset 201:3afdb7404ba5

Updated docs
author Christoph Kappel <unexist@subforge.org>
date Thu, 01 Oct 2020 17:45:30 +0200
parents d4f91b79d310
children a3284f3c705e
files rubtle-lib/src/object_builder.rs
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rubtle-lib/src/object_builder.rs	Thu Oct 01 17:28:46 2020 +0200
+++ b/rubtle-lib/src/object_builder.rs	Thu Oct 01 17:45:30 2020 +0200
@@ -34,6 +34,7 @@
     pub fn take_constructor(&mut self) -> Option<ObjectBuilderCtor<T>> {
         let mut ctor: Option<ObjectBuilderCtor<T>> = None;
 
+        /* Kansas city shuffle.. */
         std::mem::swap(&mut self.ctor, &mut ctor);
 
         ctor
@@ -89,7 +90,7 @@
     pub fn build(&mut self) -> Object<T> {
         let mut object = Object::<T>::default();
 
-        /* Kansas city shuffle.. */
+        /* Kansas city shuffle again.. */
         std::mem::swap(&mut self.ctor, &mut object.ctor);
         std::mem::swap(&mut self.methods, &mut object.methods);