mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-16 07:28:52 +00:00
Modify comments for cargo doc
This commit is contained in:
@@ -221,7 +221,8 @@ pub enum Instruction {
|
||||
target_dtype: Dtype,
|
||||
},
|
||||
/// `GetElementPtr` is inspired from `getelementptr` instruction of LLVM.
|
||||
/// https://llvm.org/docs/LangRef.html#i-getelementptr
|
||||
///
|
||||
/// For more details: <https://llvm.org/docs/LangRef.html#i-getelementptr>
|
||||
GetElementPtr {
|
||||
ptr: Operand,
|
||||
offset: Operand,
|
||||
@@ -501,7 +502,8 @@ pub enum Constant {
|
||||
///
|
||||
/// * Casting from an f32 to an f64 is perfect and lossless (f32 -> f64)
|
||||
/// * Casting from an f64 to an f32 will produce the closest possible value (f64 -> f32)
|
||||
/// https://doc.rust-lang.org/stable/reference/expressions/operator-expr.html#type-cast-expressions
|
||||
///
|
||||
/// For more details: <https://doc.rust-lang.org/stable/reference/expressions/operator-expr.html#type-cast-expressions>
|
||||
value: OrderedFloat<f64>,
|
||||
width: usize,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user