-
Notifications
You must be signed in to change notification settings - Fork 824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add lots of rustdocs and clean up one line of code #841
Conversation
MarkMcCaskey
commented
Sep 27, 2019
•
edited
Loading
edited
- Add a short description of the the change to the CHANGELOG.md file
1687ea6
to
dc17445
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sentences should end with a full stop.
lib/runtime/src/lib.rs
Outdated
@@ -189,6 +189,10 @@ pub fn instantiate(wasm: &[u8], import_object: &ImportObject) -> error::Result<I | |||
} | |||
|
|||
/// Get a single instance of the default compiler to use. | |||
/// | |||
/// The ouptput of this function can be controlled by the mutually |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Type: ouptput
--> output
lib/runtime/src/lib.rs
Outdated
@@ -219,6 +223,11 @@ pub fn default_compiler() -> impl Compiler { | |||
DefaultCompiler::new() | |||
} | |||
|
|||
/// Get the `Compiler` as a trait object for the given `Backend`. | |||
/// Returns `Option` because support for the `Compiler` may not be enabled by |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: ... support for the requested Compiler
...
lib/wasi/src/state/mod.rs
Outdated
@@ -44,6 +55,7 @@ pub struct InodeVal { | |||
pub kind: Kind, | |||
} | |||
|
|||
/// The core file-object data type |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'core file-object' doesn't help me distinguish it from other "file" data types. Is it a file descriptor or some sort of handle? Or the part that holds the file's contents?
bors r+ |
841: Add lots of rustdocs and clean up one line of code r=MarkMcCaskey a=MarkMcCaskey - [x] Add a short description of the the change to the CHANGELOG.md file Co-authored-by: Mark McCaskey <[email protected]>
Build succeeded
|