summaryrefslogtreecommitdiffstats
path: root/librepology/src/v1/api.rs
diff options
context:
space:
mode:
Diffstat (limited to 'librepology/src/v1/api.rs')
-rw-r--r--librepology/src/v1/api.rs10
1 files changed, 4 insertions, 6 deletions
diff --git a/librepology/src/v1/api.rs b/librepology/src/v1/api.rs
index 796b10e..b493209 100644
--- a/librepology/src/v1/api.rs
+++ b/librepology/src/v1/api.rs
@@ -26,12 +26,10 @@ pub trait Api {
}
-//
-// Api implemented for StdIn (via a Wrapper for interior mutability)
-//
-// This way we can read the data from stdin and process it
-//
-
+/// Wrapper for "stdin"
+///
+/// This way we can implement the `Api` trait for StdIn (via a Wrapper for interior mutability)
+/// This way we can read the data from stdin and process it.
pub struct StdinWrapper(RefCell<Stdin>);
impl From<Stdin> for StdinWrapper {